bcachefs: Fix a double free on invalid bkey

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2023-08-22 18:47:16 -04:00
parent a111901f52
commit 4491283f8d

View File

@ -801,7 +801,6 @@ static noinline int bch2_trans_commit_bkey_invalid(struct btree_trans *trans, un
bch2_inconsistent_error(c);
bch2_dump_trans_updates(trans);
printbuf_exit(err);
return -EINVAL;
}