mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-09 00:00:17 +03:00
Propagate error instead of die()ing in bcache_fs_open_fallible
This commit is contained in:
parent
991fb55fc6
commit
454a6b9ade
@ -559,7 +559,7 @@ read_super:
|
||||
struct bch_sb_handle sb;
|
||||
int ret = bch2_read_super(path, &opts, &sb);
|
||||
if (ret)
|
||||
die("Error opening %s: %s", path, strerror(-ret));
|
||||
return ret;
|
||||
|
||||
fs->dev_idx = sb.sb->dev_idx;
|
||||
uuid_str = buf;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user