Skip to contentSkip to conversation

+ ocfs2-fix-sparse-non-static-symbol-warning.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Dec 16, 2013 OCFS2

lore
Share & tools
lore
#0 lore raw

Subject: + ocfs2-fix-sparse-non-static-symbol-warning.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 16 Dec 2013 11:55:52 -0800

The patch titled
Subject: ocfs2: fix sparse non static symbol warning
has been added to the -mm tree. Its filename is
ocfs2-fix-sparse-non-static-symbol-warning.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-fix-sparse-non-static-symbol-warning.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-fix-sparse-non-static-symbol-warning.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Wei Yongjun <[email protected]>
Subject: 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?

---

 fs/ocfs2/stack_user.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/stack_user.c renamed from fs/ocfs2/stack_user.c~ocfs2-fix-sparse-non-static-symbol-warning +1 -1
diff -puN fs/ocfs2/stack_user.c~ocfs2-fix-sparse-non-static-symbol-warning fs/ocfs2/stack_user.c
@@ -983,7 +983,7 @@ static void user_recover_done(void *arg,
 	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,

_

Patches currently in -mm which might be from [email protected] are

origin.patch ocfs2-fix-sparse-non-static-symbol-warning.patch linux-next.patch