提交 4488c59c 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

fs/ramfs/ extern cleanup

- internal.h shouldn't duplicate the extern declaration for
  ramfs_file_operations already in include/linux/ramfs.h
- file-mmu.c needs two #include's for seeing the extern declarations
  of it's global struct's
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f7b16c10
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/ramfs.h>
#include "internal.h"
const struct address_space_operations ramfs_aops = { const struct address_space_operations ramfs_aops = {
.readpage = simple_readpage, .readpage = simple_readpage,
......
...@@ -11,5 +11,4 @@ ...@@ -11,5 +11,4 @@
extern const struct address_space_operations ramfs_aops; extern const struct address_space_operations ramfs_aops;
extern const struct file_operations ramfs_file_operations;
extern const struct inode_operations ramfs_file_inode_operations; extern const struct inode_operations ramfs_file_inode_operations;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册