summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/lov
diff options
context:
space:
mode:
authorXavier Roche <roche@httrack.com>2015-06-05 10:19:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 12:39:01 -0700
commit02b310794b8aa34573ef657b694b8f1f18ef4abf (patch)
tree566f1ddc7a6aa173ecb19a910cb95c34db1b5217 /drivers/staging/lustre/lustre/lov
parent2f4246f71d4f302ae57aae804c88fffc4b0478b5 (diff)
staging: lustre: fixed const warnings (struct seq_operations should be const in these contexts)
Minor warnings spotted by checkpatch.pl in lustre regarding const correctness: struct seq_operations should be const. Signed-off-by: Xavier Roche <roche+git@httrack.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/lov')
-rw-r--r--drivers/staging/lustre/lustre/lov/lov_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/lov/lov_pool.c b/drivers/staging/lustre/lustre/lov/lov_pool.c
index 3c46c368cf13..1e4d3fbee323 100644
--- a/drivers/staging/lustre/lustre/lov/lov_pool.c
+++ b/drivers/staging/lustre/lustre/lov/lov_pool.c
@@ -268,7 +268,7 @@ static int pool_proc_show(struct seq_file *s, void *v)
return 0;
}
-static struct seq_operations pool_proc_ops = {
+static const struct seq_operations pool_proc_ops = {
.start = pool_proc_start,
.next = pool_proc_next,
.stop = pool_proc_stop,