From: Al Viro Date: Fri, 20 Feb 2009 06:01:46 +0000 (+0000) Subject: constify dentry_operations: sysfs X-Git-Tag: MMI-PSA29.97-13-9~29215^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ee1ec32903fc3139af00ebc7ee483dabca3f4fa5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git constify dentry_operations: sysfs Signed-off-by: Al Viro --- 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, };