Commit 9516950c authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Fix return code from bch2_fs_start()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 44e63bca
......@@ -897,7 +897,8 @@ int bch2_fs_start(struct bch_fs *c)
break;
}
BUG_ON(!ret);
if (ret >= 0)
ret = -EIO;
goto out;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment