diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-22 00:01:11 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 14:17:24 (GMT) |
commit | 6e1d5dcc2bbbe71dbf010c747e15739bef6b7218 (patch) | |
tree | 2edb0f6cc65acbae95e42df1bc763ec048e6c2e0 /fs/omfs/omfs.h | |
parent | 7f09410bbc4306f592cfb43812389ea1c7905a20 (diff) | |
download | linux-6e1d5dcc2bbbe71dbf010c747e15739bef6b7218.tar.xz |
const: mark remaining inode_operations as 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/omfs.h')
-rw-r--r-- | fs/omfs/omfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/omfs/omfs.h b/fs/omfs/omfs.h index 16d72ab..df71039 100644 --- a/fs/omfs/omfs.h +++ b/fs/omfs/omfs.h @@ -45,14 +45,14 @@ extern int omfs_clear_range(struct super_block *sb, u64 block, int count); /* dir.c */ extern struct file_operations omfs_dir_operations; -extern struct inode_operations omfs_dir_inops; +extern const struct inode_operations omfs_dir_inops; extern int omfs_make_empty(struct inode *inode, struct super_block *sb); extern int omfs_is_bad(struct omfs_sb_info *sbi, struct omfs_header *header, u64 fsblock); /* file.c */ extern struct file_operations omfs_file_operations; -extern struct inode_operations omfs_file_inops; +extern const struct inode_operations omfs_file_inops; 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); |