Commit ee1ec329 authored by Al Viro's avatar Al Viro

constify dentry_operations: sysfs

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ad28b4ef
...@@ -302,7 +302,7 @@ static void sysfs_d_iput(struct dentry * dentry, struct inode * inode) ...@@ -302,7 +302,7 @@ static void sysfs_d_iput(struct dentry * dentry, struct inode * inode)
iput(inode); iput(inode);
} }
static struct dentry_operations sysfs_dentry_ops = { static const struct dentry_operations sysfs_dentry_ops = {
.d_iput = sysfs_d_iput, .d_iput = sysfs_d_iput,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment