summaryrefslogtreecommitdiffstats
path: root/fs/efivarfs/super.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-05 01:11:14 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 01:54:14 +0200
commite37dcbfbb2b2365870cbdd12f9d505c52941f300 (patch)
treee8fe921086b92c911cca6838817e856defc7fe0b /fs/efivarfs/super.c
parentsys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALL (diff)
downloadlinux-e37dcbfbb2b2365870cbdd12f9d505c52941f300.tar.xz
linux-e37dcbfbb2b2365870cbdd12f9d505c52941f300.zip
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>
Diffstat (limited to '')
-rw-r--r--fs/efivarfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/efivarfs/super.c b/fs/efivarfs/super.c
index becc725a1953..0a48886e069c 100644
--- a/fs/efivarfs/super.c
+++ b/fs/efivarfs/super.c
@@ -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,