summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-03-05 17:37:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-08 19:26:33 -0800
commitfcda2f5bd0e42848d856c87fcad1de7081bc5747 (patch)
treea7b5a25442475592c760d9aa1bc349d1ccecb037 /drivers/staging/lustre
parentd46a20d2a4ad17be82e3e5d3c3405ffdc5ee687d (diff)
staging: lustre: storage class should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lustre/lov/lov_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/lov/lov_object.c b/drivers/staging/lustre/lustre/lov/lov_object.c
index fe0b70a097aa..7a85cafecf1b 100644
--- a/drivers/staging/lustre/lustre/lov/lov_object.c
+++ b/drivers/staging/lustre/lustre/lov/lov_object.c
@@ -512,7 +512,7 @@ static int lov_attr_get_raid0(const struct lu_env *env, struct cl_object *obj,
return result;
}
-const static struct lov_layout_operations lov_dispatch[] = {
+static const struct lov_layout_operations lov_dispatch[] = {
[LLT_EMPTY] = {
.llo_init = lov_init_empty,
.llo_delete = lov_delete_empty,