diff options
Diffstat (limited to 'fs/affs/file.c')
-rw-r--r-- | fs/affs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/affs/file.c b/fs/affs/file.c index 7076262af39b..3de8590e4f6a 100644 --- a/fs/affs/file.c +++ b/fs/affs/file.c | |||
@@ -406,7 +406,7 @@ static sector_t _affs_bmap(struct address_space *mapping, sector_t block) | |||
406 | { | 406 | { |
407 | return generic_block_bmap(mapping,block,affs_get_block); | 407 | return generic_block_bmap(mapping,block,affs_get_block); |
408 | } | 408 | } |
409 | struct address_space_operations affs_aops = { | 409 | const struct address_space_operations affs_aops = { |
410 | .readpage = affs_readpage, | 410 | .readpage = affs_readpage, |
411 | .writepage = affs_writepage, | 411 | .writepage = affs_writepage, |
412 | .sync_page = block_sync_page, | 412 | .sync_page = block_sync_page, |
@@ -759,7 +759,7 @@ out: | |||
759 | goto done; | 759 | goto done; |
760 | } | 760 | } |
761 | 761 | ||
762 | struct address_space_operations affs_aops_ofs = { | 762 | const struct address_space_operations affs_aops_ofs = { |
763 | .readpage = affs_readpage_ofs, | 763 | .readpage = affs_readpage_ofs, |
764 | //.writepage = affs_writepage_ofs, | 764 | //.writepage = affs_writepage_ofs, |
765 | //.sync_page = affs_sync_page_ofs, | 765 | //.sync_page = affs_sync_page_ofs, |