diff options
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r-- | fs/gfs2/ops_inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index f40a84807d75..60f47bf2e8e8 100644 --- a/fs/gfs2/ops_inode.c +++ b/fs/gfs2/ops_inode.c | |||
@@ -1115,7 +1115,7 @@ static int gfs2_removexattr(struct dentry *dentry, const char *name) | |||
1115 | return gfs2_ea_remove(GFS2_I(dentry->d_inode), &er); | 1115 | return gfs2_ea_remove(GFS2_I(dentry->d_inode), &er); |
1116 | } | 1116 | } |
1117 | 1117 | ||
1118 | struct inode_operations gfs2_file_iops = { | 1118 | const struct inode_operations gfs2_file_iops = { |
1119 | .permission = gfs2_permission, | 1119 | .permission = gfs2_permission, |
1120 | .setattr = gfs2_setattr, | 1120 | .setattr = gfs2_setattr, |
1121 | .getattr = gfs2_getattr, | 1121 | .getattr = gfs2_getattr, |
@@ -1125,7 +1125,7 @@ struct inode_operations gfs2_file_iops = { | |||
1125 | .removexattr = gfs2_removexattr, | 1125 | .removexattr = gfs2_removexattr, |
1126 | }; | 1126 | }; |
1127 | 1127 | ||
1128 | struct inode_operations gfs2_dev_iops = { | 1128 | const struct inode_operations gfs2_dev_iops = { |
1129 | .permission = gfs2_permission, | 1129 | .permission = gfs2_permission, |
1130 | .setattr = gfs2_setattr, | 1130 | .setattr = gfs2_setattr, |
1131 | .getattr = gfs2_getattr, | 1131 | .getattr = gfs2_getattr, |
@@ -1135,7 +1135,7 @@ struct inode_operations gfs2_dev_iops = { | |||
1135 | .removexattr = gfs2_removexattr, | 1135 | .removexattr = gfs2_removexattr, |
1136 | }; | 1136 | }; |
1137 | 1137 | ||
1138 | struct inode_operations gfs2_dir_iops = { | 1138 | const struct inode_operations gfs2_dir_iops = { |
1139 | .create = gfs2_create, | 1139 | .create = gfs2_create, |
1140 | .lookup = gfs2_lookup, | 1140 | .lookup = gfs2_lookup, |
1141 | .link = gfs2_link, | 1141 | .link = gfs2_link, |
@@ -1154,7 +1154,7 @@ struct inode_operations gfs2_dir_iops = { | |||
1154 | .removexattr = gfs2_removexattr, | 1154 | .removexattr = gfs2_removexattr, |
1155 | }; | 1155 | }; |
1156 | 1156 | ||
1157 | struct inode_operations gfs2_symlink_iops = { | 1157 | const struct inode_operations gfs2_symlink_iops = { |
1158 | .readlink = gfs2_readlink, | 1158 | .readlink = gfs2_readlink, |
1159 | .follow_link = gfs2_follow_link, | 1159 | .follow_link = gfs2_follow_link, |
1160 | .permission = gfs2_permission, | 1160 | .permission = gfs2_permission, |