summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-02-20 06:01:46 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2009-03-27 14:44:02 -0400
commitee1ec32903fc3139af00ebc7ee483dabca3f4fa5 (patch)
tree70145c6ef8e4426705082059ac674a4c4fd937b8 /fs/sysfs/dir.c
parentad28b4ef1937b11432cd64fe1ebad714f8e253bd (diff)
downloadlinux-ee1ec32903fc3139af00ebc7ee483dabca3f4fa5.tar.bz2
constify dentry_operations: sysfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/sysfs/dir.c')
-rw-r--r--fs/sysfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index 82d3b79d0e08..6b8fe71ba14c 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -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,
};