From: Wei Yongjun Date: Mon, 16 Dec 2013 23:44:57 +0000 (+1100) Subject: ocfs2: fix sparse non static symbol warning X-Git-Tag: next-20131220~2^2~215 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=441b635aa3a12ff7effe3ed7bccde5909be4ff27;p=karo-tx-linux.git ocfs2: fix sparse non static symbol warning Fixes the following sparse warning: fs/ocfs2/stack_user.c:930:32: warning: symbol 'ocfs2_ls_ops' was not declared. Should it be static? Signed-off-by: Wei Yongjun Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton --- diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c index c80e2d8c23a0..e0c43234ac28 100644 --- a/fs/ocfs2/stack_user.c +++ b/fs/ocfs2/stack_user.c @@ -983,7 +983,7 @@ static void user_recover_done(void *arg, struct dlm_slot *slots, wake_up(&lc->oc_wait); } -const struct dlm_lockspace_ops ocfs2_ls_ops = { +static const struct dlm_lockspace_ops ocfs2_ls_ops = { .recover_prep = user_recover_prep, .recover_slot = user_recover_slot, .recover_done = user_recover_done,