From: akpm@linux-foundation.org Subject: + ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.patch added to -mm tree Date: Fri, 27 Dec 2013 13:58:37 -0800 Message-ID: <52bdf80d.JdhsrV6tVYDuCcXf%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:60165 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754792Ab3L0V6i (ORCPT ); Fri, 27 Dec 2013 16:58:38 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, rgoldwyn@suse.com, mfasheh@suse.de, jlbec@evilplan.org, dan.carpenter@oracle.com, rgoldwyn@suse.de Subject: + ocfs2-use-the-new-dlm-operation-callbacks-while-requesting-new-lockspace-fix.patch added to -mm tree To: rgoldwyn@suse.de,dan.carpenter@oracle.com,jlbec@evilplan.org,mfasheh@suse.de,rgoldwyn@suse.com From: akpm@linux-foundation.org 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 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 Cc: Goldwyn Rodrigues Cc: Dan Carpenter Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton --- 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@suse.de 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