summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/super.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2016-01-01 10:01:52 +0100
committerMike Marshall <hubcap@omnibond.com>2016-01-04 17:06:12 +0100
commitacaca36dd94d1bfe381a7425984991a06ba58f53 (patch)
treedb07cd576fc78e44c2e7646e3c9b427f750e0b77 /fs/orangefs/super.c
parentOrangefs: don't trigger copy_attributes_to_inode from d_revalidate. (diff)
downloadlinux-acaca36dd94d1bfe381a7425984991a06ba58f53.tar.xz
linux-acaca36dd94d1bfe381a7425984991a06ba58f53.zip
OrangeFS: constify export_operations structures
This export_operations structure is never modified, so declare it as const. Most other structures of this type are already const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/super.c')
-rw-r--r--fs/orangefs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index 52bc522ea21c..bee67b37d805 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -342,7 +342,7 @@ out:
return type;
}
-static struct export_operations orangefs_export_ops = {
+static const struct export_operations orangefs_export_ops = {
.encode_fh = orangefs_encode_fh,
.fh_to_dentry = orangefs_fh_to_dentry,
};