All of lore.kernel.org
 help / color / mirror / Atom feed
* + ocfs2-simplify-the-calculation-of-variables.patch added to -mm tree
@ 2021-02-02 19:52 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-02-02 19:52 UTC (permalink / raw)
  To: abaci, gechangwei, ghe, jiapeng.chong, jlbec, joseph.qi,
	junxiao.bi, mark, mm-commits, piaojun


The patch titled
     Subject: ocfs2: Simplify the calculation of variables
has been added to the -mm tree.  Its filename is
     ocfs2-simplify-the-calculation-of-variables.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/ocfs2-simplify-the-calculation-of-variables.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-simplify-the-calculation-of-variables.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/process/submit-checklist.rst when testing your code ***

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

------------------------------------------------------
From: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Subject: ocfs2: Simplify the calculation of variables

Fix the following coccicheck warnings:

./fs/ocfs2/refcounttree.c:981:16-18: WARNING !A || A && B is equivalent
to !A || B.

Link: https://lkml.kernel.org/r/1612235424-80367-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/ocfs2/refcounttree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/ocfs2/refcounttree.c~ocfs2-simplify-the-calculation-of-variables
+++ a/fs/ocfs2/refcounttree.c
@@ -978,7 +978,7 @@ static int ocfs2_get_refcount_cpos_end(s
 		return 0;
 	}
 
-	if (!eb || (eb && !eb->h_next_leaf_blk)) {
+	if (!eb || !eb->h_next_leaf_blk) {
 		/*
 		 * We are the last extent rec, so any high cpos should
 		 * be stored in this leaf refcount block.
_

Patches currently in -mm which might be from jiapeng.chong@linux.alibaba.com are

ocfs2-simplify-the-calculation-of-variables.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-02 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 19:52 + ocfs2-simplify-the-calculation-of-variables.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.