aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/dir.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-15 10:43:23 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-18 07:05:08 -0500
commite8b815663b1bfd9c255af5176604ec0eafdf6ed7 (patch)
tree63eea164bed606905200177f18391238102bda40 /fs/ubifs/dir.c
parentdedb0d48a9d4d57086526b94a4b64da789a646e4 (diff)
UBIFS: constify operations
Mark super, file, and inode operation structcutes with 'const'. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/dir.c')
-rw-r--r--fs/ubifs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index f448ab1f9c38..d29b771cce45 100644
--- a/fs/ubifs/dir.c
+++ b/fs/ubifs/dir.c
@@ -1199,7 +1199,7 @@ int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry,
1199 return 0; 1199 return 0;
1200} 1200}
1201 1201
1202struct inode_operations ubifs_dir_inode_operations = { 1202const struct inode_operations ubifs_dir_inode_operations = {
1203 .lookup = ubifs_lookup, 1203 .lookup = ubifs_lookup,
1204 .create = ubifs_create, 1204 .create = ubifs_create,
1205 .link = ubifs_link, 1205 .link = ubifs_link,
@@ -1219,7 +1219,7 @@ struct inode_operations ubifs_dir_inode_operations = {
1219#endif 1219#endif
1220}; 1220};
1221 1221
1222struct file_operations ubifs_dir_operations = { 1222const struct file_operations ubifs_dir_operations = {
1223 .llseek = ubifs_dir_llseek, 1223 .llseek = ubifs_dir_llseek,
1224 .release = ubifs_dir_release, 1224 .release = ubifs_dir_release,
1225 .read = generic_read_dir, 1225 .read = generic_read_dir,