diff options
Diffstat (limited to 'fs/ramfs/file-mmu.c')
-rw-r--r-- | fs/ramfs/file-mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ramfs/file-mmu.c b/fs/ramfs/file-mmu.c index 54ebbc84207f..2f14774a124f 100644 --- a/fs/ramfs/file-mmu.c +++ b/fs/ramfs/file-mmu.c | |||
@@ -31,7 +31,7 @@ const struct address_space_operations ramfs_aops = { | |||
31 | .readpage = simple_readpage, | 31 | .readpage = simple_readpage, |
32 | .prepare_write = simple_prepare_write, | 32 | .prepare_write = simple_prepare_write, |
33 | .commit_write = simple_commit_write, | 33 | .commit_write = simple_commit_write, |
34 | .set_page_dirty = __set_page_dirty_nobuffers, | 34 | .set_page_dirty = __set_page_dirty_no_writeback, |
35 | }; | 35 | }; |
36 | 36 | ||
37 | const struct file_operations ramfs_file_operations = { | 37 | const struct file_operations ramfs_file_operations = { |
@@ -45,6 +45,6 @@ const struct file_operations ramfs_file_operations = { | |||
45 | .llseek = generic_file_llseek, | 45 | .llseek = generic_file_llseek, |
46 | }; | 46 | }; |
47 | 47 | ||
48 | struct inode_operations ramfs_file_inode_operations = { | 48 | const struct inode_operations ramfs_file_inode_operations = { |
49 | .getattr = simple_getattr, | 49 | .getattr = simple_getattr, |
50 | }; | 50 | }; |