fs/efivarfs/super.c: use static const for dentry_operations
authorFabian Frederick <fabf@skynet.be>
Wed, 4 Jun 2014 23:11:14 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:14 +0000 (16:54 -0700)
...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>
fs/efivarfs/super.c

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