bcachefs: Delete a faulty assertion
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Aug 2023 04:05:35 +0000 (00:05 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:11 +0000 (17:10 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal_io.c

index 50a7c3330807594fc231fc2f1f64808e7daeae83..34740dca4b15523c44f8b49540810c36a39ef7e7 100644 (file)
@@ -319,7 +319,6 @@ static int journal_validate_key(struct bch_fs *c,
                                  __btree_node_type(level, btree_id), write, &buf);
 
                mustfix_fsck_err(c, "%s", buf.buf);
-               BUG();
 
                le16_add_cpu(&entry->u64s, -((u16) k->k.u64s));
                memmove(k, bkey_next(k), next - (void *) bkey_next(k));