constify dentry_operations: sysfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ad28b4ef19
commit
ee1ec32903
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue