aboutsummaryrefslogtreecommitdiffstats
path: root/fs/efivarfs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-04 19:11:14 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 19:54:14 -0400
commite37dcbfbb2b2365870cbdd12f9d505c52941f300 (patch)
treee8fe921086b92c911cca6838817e856defc7fe0b /fs/efivarfs
parentf6187769dae48234f3877df3c4d99294cc2254fa (diff)
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 'fs/efivarfs')
-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)
83 return 0; 83 return 0;
84} 84}
85 85
86static struct dentry_operations efivarfs_d_ops = { 86static const struct dentry_operations efivarfs_d_ops = {
87 .d_compare = efivarfs_d_compare, 87 .d_compare = efivarfs_d_compare,
88 .d_hash = efivarfs_d_hash, 88 .d_hash = efivarfs_d_hash,
89 .d_delete = always_delete_dentry, 89 .d_delete = always_delete_dentry,