constify dentry_operations: GFS2
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Feb 2009 06:00:05 +0000 (06:00 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Mar 2009 18:44:02 +0000 (14:44 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/gfs2/ops_dentry.c
fs/gfs2/super.h

index c2ad36330ca3446707668c69731e791c9d1cb615..aea4d50580d71112d1d6ce58991cd8cd694b9d20 100644 (file)
@@ -108,7 +108,7 @@ static int gfs2_dhash(struct dentry *dentry, struct qstr *str)
        return 0;
 }
 
-struct dentry_operations gfs2_dops = {
+const struct dentry_operations gfs2_dops = {
        .d_revalidate = gfs2_drevalidate,
        .d_hash = gfs2_dhash,
 };
index f6b8b00ad8811b6b12c096f7214d563d8afe7e0c..a931e44ab561658f82c682d6f3a935e34e46e3df 100644 (file)
@@ -47,7 +47,7 @@ extern struct file_system_type gfs2_fs_type;
 extern struct file_system_type gfs2meta_fs_type;
 extern const struct export_operations gfs2_export_ops;
 extern const struct super_operations gfs2_super_ops;
-extern struct dentry_operations gfs2_dops;
+extern const struct dentry_operations gfs2_dops;
 
 #endif /* __SUPER_DOT_H__ */