Просмотр исходного кода

constify dentry_operations: configfs

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 16 лет назад
Родитель
Сommit
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;
 	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,