diff options
author | Zhang Mingyu <zhang.mingyu@zte.com.cn> | 2022-01-14 14:03:35 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-15 16:30:24 +0200 |
commit | 783cc68d6143da3c8bc6322b80abd96640f6066f (patch) | |
tree | 9268372ff057567465fc2046a8450c0c5aedd51d /fs/ocfs2/stackglue.c | |
parent | 9eec1d897139e5de287af5d559a02b811b844d82 (diff) | |
download | linux-783cc68d6143da3c8bc6322b80abd96640f6066f.tar.gz linux-783cc68d6143da3c8bc6322b80abd96640f6066f.tar.bz2 linux-783cc68d6143da3c8bc6322b80abd96640f6066f.zip |
ocfs2: use BUG_ON instead of if condition followed by BUG.
This issue was detected with the help of Coccinelle.
Link: https://lkml.kernel.org/r/20211105014424.75372-1-zhang.mingyu@zte.com.cn
Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cn>
Acked-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/ocfs2/stackglue.c')
0 files changed, 0 insertions, 0 deletions