mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
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