瀏覽代碼

fs/efivarfs/super.c: use static const for dentry_operations

...like other filesystems.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Fabian Frederick 11 年之前
父節點
當前提交
e37dcbfbb2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/efivarfs/super.c

+ 1 - 1
fs/efivarfs/super.c

@@ -83,7 +83,7 @@ static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr)
 	return 0;
 	return 0;
 }
 }
 
 
-static struct dentry_operations efivarfs_d_ops = {
+static const struct dentry_operations efivarfs_d_ops = {
 	.d_compare = efivarfs_d_compare,
 	.d_compare = efivarfs_d_compare,
 	.d_hash = efivarfs_d_hash,
 	.d_hash = efivarfs_d_hash,
 	.d_delete = always_delete_dentry,
 	.d_delete = always_delete_dentry,