diff options
Diffstat (limited to 'fs/ramfs/file-mmu.c')
-rw-r--r-- | fs/ramfs/file-mmu.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/fs/ramfs/file-mmu.c b/fs/ramfs/file-mmu.c index 2115383dcc8d..00a933eb820c 100644 --- a/fs/ramfs/file-mmu.c +++ b/fs/ramfs/file-mmu.c | |||
@@ -24,18 +24,7 @@ | |||
24 | * caches is sufficient. | 24 | * caches is sufficient. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include <linux/module.h> | ||
28 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
29 | #include <linux/pagemap.h> | ||
30 | #include <linux/highmem.h> | ||
31 | #include <linux/init.h> | ||
32 | #include <linux/string.h> | ||
33 | #include <linux/smp_lock.h> | ||
34 | #include <linux/backing-dev.h> | ||
35 | #include <linux/ramfs.h> | ||
36 | |||
37 | #include <asm/uaccess.h> | ||
38 | #include "internal.h" | ||
39 | 28 | ||
40 | struct address_space_operations ramfs_aops = { | 29 | struct address_space_operations ramfs_aops = { |
41 | .readpage = simple_readpage, | 30 | .readpage = simple_readpage, |
@@ -43,7 +32,7 @@ struct address_space_operations ramfs_aops = { | |||
43 | .commit_write = simple_commit_write | 32 | .commit_write = simple_commit_write |
44 | }; | 33 | }; |
45 | 34 | ||
46 | struct file_operations ramfs_file_operations = { | 35 | const struct file_operations ramfs_file_operations = { |
47 | .read = generic_file_read, | 36 | .read = generic_file_read, |
48 | .write = generic_file_write, | 37 | .write = generic_file_write, |
49 | .mmap = generic_file_mmap, | 38 | .mmap = generic_file_mmap, |