Commit b29c30ab authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent dc5bfdf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment