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: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Adrian Bunk 2008-04-29 00:58:51 -07:00 committed by Linus Torvalds
parent f7b16c108f
commit 4488c59c94
2 changed files with 3 additions and 1 deletions

View file

@ -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,

View file

@ -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;