mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-23 02:51:47 +00:00
bcachefs: Fix return code from bch2_fs_start()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
44e63bcaaa
commit
9516950c06
1 changed files with 2 additions and 1 deletions
|
@ -897,7 +897,8 @@ int bch2_fs_start(struct bch_fs *c)
|
|||
break;
|
||||
}
|
||||
|
||||
BUG_ON(!ret);
|
||||
if (ret >= 0)
|
||||
ret = -EIO;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue