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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.patch added to -mm tree
To: rgoldwyn@xxxxxxx,dan.carpenter@xxxxxxxxxx,jlbec@xxxxxxxxxxxx,mfasheh@xxxxxxx,rgoldwyn@xxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
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 <rgoldwyn@xxxxxxx>
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)'

Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Cc: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx>
Cc: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Cc: Mark Fasheh <mfasheh@xxxxxxx>
Cc: Joel Becker <jlbec@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/ocfs2/stack_user.c |    4 ----
 1 file changed, 4 deletions(-)

diff -puN fs/ocfs2/stack_user.c~ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix fs/ocfs2/stack_user.c
--- a/fs/ocfs2/stack_user.c~ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix
+++ a/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 rgoldwyn@xxxxxxx 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

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux