diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-25 01:31:22 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-28 03:46:34 +0200 |
commit | b29c30ab48e0395a22ecf0b94443d16a8f493fb6 (patch) | |
tree | 543419a5b1692d6c21dfd154f9fa994cf7bbc00f /fs/bcachefs/fsck.c | |
parent | bcachefs: fix the memory leak in exception case (diff) | |
download | linux-b29c30ab48e0395a22ecf0b94443d16a8f493fb6.tar.xz linux-b29c30ab48e0395a22ecf0b94443d16a8f493fb6.zip |
bcachefs: Fix incorrect IS_ERR_OR_NULL usage
Returning a positive integer instead of an error code causes error paths
to become very confused.
Closes: syzbot+c0360e8367d6d8d04a66@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions