From acaca36dd94d1bfe381a7425984991a06ba58f53 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Fri, 1 Jan 2016 10:01:52 +0100 Subject: [PATCH] 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 Signed-off-by: Mike Marshall --- fs/orangefs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }; -- 2.20.1