diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-02-24 21:00:45 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-24 22:38:26 +0100 |
commit | 7c908aec34733408baa755613141a08b960d8eec (patch) | |
tree | 2aaaf4c72e719fb96160c4ae0916ccf9c17db0de /fs/exec.c | |
parent | ocfs2: fix a use after free on error (diff) | |
download | linux-7c908aec34733408baa755613141a08b960d8eec.tar.xz linux-7c908aec34733408baa755613141a08b960d8eec.zip |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions