]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/efivarfs/super.c: use static const for dentry_operations
authorFabian Frederick <fabf@skynet.be>
Thu, 22 May 2014 00:43:28 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:28 +0000 (10:43 +1000)
...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>
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,