Skip to content

Commit 296c2d8

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/configfs/dir.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static int configfs_d_delete(struct dentry *dentry)
7272
return 1;
7373
}
7474

75-
static struct dentry_operations configfs_dentry_ops = {
75+
static const struct dentry_operations configfs_dentry_ops = {
7676
.d_iput = configfs_d_iput,
7777
/* simple_delete_dentry() isn't exported */
7878
.d_delete = configfs_d_delete,

0 commit comments

Comments
 (0)