summaryrefslogtreecommitdiff
path: root/fs/omfs
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-09-22 04:01:10 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-22 18:17:24 +0400
commit7f09410bbc4306f592cfb43812389ea1c7905a20 (patch)
tree18f179435f70c4ec9231883501062d5ea0357af5 /fs/omfs
parentac4cfdd6d141c319a7af8655f750ed504c187a74 (diff)
downloadlinux-7f09410bbc4306f592cfb43812389ea1c7905a20.tar.xz
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.c2
-rw-r--r--fs/omfs/omfs.h2
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 = {
.truncate = omfs_truncate
};
-struct address_space_operations omfs_aops = {
+const struct address_space_operations omfs_aops = {
.readpage = omfs_readpage,
.readpages = omfs_readpages,
.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,
/* file.c */
extern struct file_operations omfs_file_operations;
extern struct inode_operations omfs_file_inops;
-extern struct address_space_operations omfs_aops;
+extern const struct address_space_operations omfs_aops;
extern void omfs_make_empty_table(struct buffer_head *bh, int offset);
extern int omfs_shrink_inode(struct inode *inode);