mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 10:31:33 -04:00
constify dentry_operations: sysfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user