Skip to content

Commit ee1ec32

Browse files
author
Al Viro
committed
constify dentry_operations: sysfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent ad28b4e commit ee1ec32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/sysfs/dir.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ static void sysfs_d_iput(struct dentry * dentry, struct inode * inode)
302302
iput(inode);
303303
}
304304

305-
static struct dentry_operations sysfs_dentry_ops = {
305+
static const struct dentry_operations sysfs_dentry_ops = {
306306
.d_iput = sysfs_d_iput,
307307
};
308308

0 commit comments

Comments
 (0)