mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 10:46:33 +00:00
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:
parent
f7b16c108f
commit
4488c59c94
@ -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 @@
|
|||||||
|
|
||||||
|
|
||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user