constify dentry_operations: sysfs
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Feb 2009 06:01:46 +0000 (06:01 +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/sysfs/dir.c

index 82d3b79d0e080765fb3ceb43fae1549ffe7df96d..6b8fe71ba14c374ecf0dfcc714f37ba6b1944f37 100644 (file)
@@ -302,7 +302,7 @@ static void sysfs_d_iput(struct dentry * dentry, struct inode * inode)
        iput(inode);
 }
 
-static struct dentry_operations sysfs_dentry_ops = {
+static const struct dentry_operations sysfs_dentry_ops = {
        .d_iput         = sysfs_d_iput,
 };