diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/inode.c b/fs/inode.c index 5e32432a7608..5abb097ab1b0 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -1000,7 +1000,7 @@ EXPORT_SYMBOL(remove_inode_hash); | |||
1000 | */ | 1000 | */ |
1001 | void generic_delete_inode(struct inode *inode) | 1001 | void generic_delete_inode(struct inode *inode) |
1002 | { | 1002 | { |
1003 | struct super_operations *op = inode->i_sb->s_op; | 1003 | const struct super_operations *op = inode->i_sb->s_op; |
1004 | 1004 | ||
1005 | list_del_init(&inode->i_list); | 1005 | list_del_init(&inode->i_list); |
1006 | list_del_init(&inode->i_sb_list); | 1006 | list_del_init(&inode->i_sb_list); |
@@ -1093,7 +1093,7 @@ EXPORT_SYMBOL_GPL(generic_drop_inode); | |||
1093 | */ | 1093 | */ |
1094 | static inline void iput_final(struct inode *inode) | 1094 | static inline void iput_final(struct inode *inode) |
1095 | { | 1095 | { |
1096 | struct super_operations *op = inode->i_sb->s_op; | 1096 | const struct super_operations *op = inode->i_sb->s_op; |
1097 | void (*drop)(struct inode *) = generic_drop_inode; | 1097 | void (*drop)(struct inode *) = generic_drop_inode; |
1098 | 1098 | ||
1099 | if (op && op->drop_inode) | 1099 | if (op && op->drop_inode) |
@@ -1113,7 +1113,7 @@ static inline void iput_final(struct inode *inode) | |||
1113 | void iput(struct inode *inode) | 1113 | void iput(struct inode *inode) |
1114 | { | 1114 | { |
1115 | if (inode) { | 1115 | if (inode) { |
1116 | struct super_operations *op = inode->i_sb->s_op; | 1116 | const struct super_operations *op = inode->i_sb->s_op; |
1117 | 1117 | ||
1118 | BUG_ON(inode->i_state == I_CLEAR); | 1118 | BUG_ON(inode->i_state == I_CLEAR); |
1119 | 1119 | ||