Skip to contentSkip to conversation

+ ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.patch added to -mm tree

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

lore
Share & tools
lore
#0 lore raw

Subject: + ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 27 Dec 2013 13:58:37 -0800

The patch titled
Subject: ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix
has been added to the -mm tree. Its filename is
ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.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: Goldwyn Rodrigues <[email protected]>
Subject: ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix

New smatch warnings:
fs/ocfs2/stack_user.c:938 get_protocol_version() warn: impossible condition '(pv.pv_minor < 0) => (0-255 < 0)'

Cc Goldwyn Rodrigues <[email protected]>
Cc Dan Carpenter <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>

---

 fs/ocfs2/stack_user.c |    4 ----
 1 file changed, 4 deletions(-)
fs/ocfs2/stack_user.c renamed from fs/ocfs2/stack_user.c~ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix +0 -4
diff -puN fs/ocfs2/stack_user.c~ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix fs/ocfs2/stack_user.c
@@ -935,10 +935,6 @@ static int get_protocol_version(struct o
 			goto out;
 		lvb_to_version(lc->oc_lvb, &pv);
 
-		if (pv.pv_minor < 0) {
-			ret = -ERANGE;
-			goto out;
-		}
 		if ((pv.pv_major != running_proto.pv_major) ||
 				(pv.pv_minor > running_proto.pv_minor)) {
 			ret = -EINVAL;

_

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

ocfs2-remove-versioning-information.patch ocfs2-add-clustername-to-cluster-connection.patch ocfs2-add-dlm-recovery-callbacks.patch ocfs2-shift-allocation-ocfs2_live_connection-to-user_connect.patch ocfs2-pass-ocfs2_cluster_connection-to-ocfs2_this_node.patch ocfs2-framework-for-version-lvb.patch ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace.patch ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.patch