Skip to content

Commit ae92765

Browse files
author
Kent Overstreet
committed
bcachefs: Remove accidental debug assert
Signed-off-by: Kent Overstreet <[email protected]>
1 parent e67572c commit ae92765

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/bcachefs/buckets.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,6 @@ int bch2_mark_metadata_bucket(struct bch_fs *c, struct bch_dev *ca,
525525
"different types of data in same bucket: %s, %s",
526526
bch2_data_type_str(g->data_type),
527527
bch2_data_type_str(data_type))) {
528-
BUG();
529528
ret = -EIO;
530529
goto err;
531530
}
@@ -629,7 +628,6 @@ int bch2_check_bucket_ref(struct btree_trans *trans,
629628
bch2_data_type_str(ptr_data_type),
630629
(printbuf_reset(&buf),
631630
bch2_bkey_val_to_text(&buf, c, k), buf.buf));
632-
BUG();
633631
ret = -EIO;
634632
goto err;
635633
}

0 commit comments

Comments
 (0)