mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
bcachefs: Convert BUG() to error
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
132263220d
commit
165815c296
|
|
@ -984,7 +984,8 @@ int bch2_fsck_update_backpointers(struct btree_trans *trans,
|
|||
int ret = 0;
|
||||
|
||||
if (d->v.d_type == DT_SUBVOL) {
|
||||
BUG();
|
||||
bch_err(trans->c, "%s does not support DT_SUBVOL", __func__);
|
||||
ret = -BCH_ERR_fsck_repair_unimplemented;
|
||||
} else {
|
||||
ret = get_visible_inodes(trans, &target, s, le64_to_cpu(d->v.d_inum));
|
||||
if (ret)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user