diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-21 20:01:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:17:24 -0400 |
commit | 7f09410bbc4306f592cfb43812389ea1c7905a20 (patch) | |
tree | 18f179435f70c4ec9231883501062d5ea0357af5 /fs/omfs | |
parent | ac4cfdd6d141c319a7af8655f750ed504c187a74 (diff) |
const: mark remaining address_space_operations const
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/omfs')
-rw-r--r-- | fs/omfs/file.c | 2 | ||||
-rw-r--r-- | fs/omfs/omfs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/omfs/file.c b/fs/omfs/file.c index d17e774eaf45..b707fa5396b7 100644 --- a/fs/omfs/file.c +++ b/fs/omfs/file.c | |||
@@ -337,7 +337,7 @@ struct inode_operations omfs_file_inops = { | |||
337 | .truncate = omfs_truncate | 337 | .truncate = omfs_truncate |
338 | }; | 338 | }; |
339 | 339 | ||
340 | struct address_space_operations omfs_aops = { | 340 | const struct address_space_operations omfs_aops = { |
341 | .readpage = omfs_readpage, | 341 | .readpage = omfs_readpage, |
342 | .readpages = omfs_readpages, | 342 | .readpages = omfs_readpages, |
343 | .writepage = omfs_writepage, | 343 | .writepage = omfs_writepage, |
diff --git a/fs/omfs/omfs.h b/fs/omfs/omfs.h index 2bc0f0670406..16d72ab13d3e 100644 --- a/fs/omfs/omfs.h +++ b/fs/omfs/omfs.h | |||
@@ -53,7 +53,7 @@ extern int omfs_is_bad(struct omfs_sb_info *sbi, struct omfs_header *header, | |||
53 | /* file.c */ | 53 | /* file.c */ |
54 | extern struct file_operations omfs_file_operations; | 54 | extern struct file_operations omfs_file_operations; |
55 | extern struct inode_operations omfs_file_inops; | 55 | extern struct inode_operations omfs_file_inops; |
56 | extern struct address_space_operations omfs_aops; | 56 | extern const struct address_space_operations omfs_aops; |
57 | extern void omfs_make_empty_table(struct buffer_head *bh, int offset); | 57 | extern void omfs_make_empty_table(struct buffer_head *bh, int offset); |
58 | extern int omfs_shrink_inode(struct inode *inode); | 58 | extern int omfs_shrink_inode(struct inode *inode); |
59 | 59 | ||