forked from Minki/linux
constify dentry_operations: sysfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ad28b4ef19
commit
ee1ec32903
@ -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 New Issue
Block a user