mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-22 07:34:10 -05:00
bcachefs: Use bch2_trans_inconsistent() more
This gets us better error messages. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
committed by
Kent Overstreet
parent
62491956f4
commit
5e05d7ed3d
@@ -880,7 +880,7 @@ static inline int do_bch2_trans_commit(struct btree_trans *trans,
|
||||
bch2_bkey_invalid(c, bkey_i_to_s_c(i->k),
|
||||
i->bkey_type, WRITE, &buf);
|
||||
|
||||
bch2_fs_fatal_error(c, "%s", buf.buf);
|
||||
bch2_trans_inconsistent(trans, "%s", buf.buf);
|
||||
printbuf_exit(&buf);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user