constify dentry_operations: configfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ee1ec32903
commit
296c2d8663
|
@ -72,7 +72,7 @@ static int configfs_d_delete(struct dentry *dentry)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct dentry_operations configfs_dentry_ops = {
|
static const struct dentry_operations configfs_dentry_ops = {
|
||||||
.d_iput = configfs_d_iput,
|
.d_iput = configfs_d_iput,
|
||||||
/* simple_delete_dentry() isn't exported */
|
/* simple_delete_dentry() isn't exported */
|
||||||
.d_delete = configfs_d_delete,
|
.d_delete = configfs_d_delete,
|
||||||
|
|
Loading…
Reference in New Issue