constify dentry_operations: configfs
Al Viro [Fri, 20 Feb 2009 06:02:01 +0000 (06:02 +0000)]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

fs/configfs/dir.c

index 8e93341..05373db 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,