Skip to contentSkip to conversation

ocfs2-fix-sparse-non-static-symbol-warning.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 22, 2014 OCFS2

lore
Share & tools
lore
#0 lore raw

Subject: [merged] ocfs2-fix-sparse-non-static-symbol-warning.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 22 Jan 2014 12:11:57 -0800

The patch titled
Subject: ocfs2: fix sparse non static symbol warning
has been removed from the -mm tree. Its filename was
ocfs2-fix-sparse-non-static-symbol-warning.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
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
@@ -979,7 +979,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
linux-next.patch