Эх сурвалжийг харах

constify dentry_operations: configfs

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 16 жил өмнө
parent
commit
296c2d8663
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      fs/configfs/dir.c

+ 1 - 1
fs/configfs/dir.c

@@ -72,7 +72,7 @@ static int configfs_d_delete(struct dentry *dentry)
 	return 1;
 }
 
-static struct dentry_operations configfs_dentry_ops = {
+static const struct dentry_operations configfs_dentry_ops = {
 	.d_iput		= configfs_d_iput,
 	/* simple_delete_dentry() isn't exported */
 	.d_delete	= configfs_d_delete,