constify dentry_operations: configfs
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Feb 2009 06:02:01 +0000 (06:02 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Mar 2009 18:44:03 +0000 (14:44 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/configfs/dir.c

index 8e93341f3e82048b7f0f07d4edc6cf2e654c3f93..05373db21a4e8e4a8a297b3c83fb8ef85a0cb175 100644 (file)
@@ -72,7 +72,7 @@ static int configfs_d_delete(struct dentry *dentry)
        return 1;
 }
 
-static struct dentry_operations configfs_dentry_ops = {
+static const struct dentry_operations configfs_dentry_ops = {
        .d_iput         = configfs_d_iput,
        /* simple_delete_dentry() isn't exported */
        .d_delete       = configfs_d_delete,