Commit 0329631c authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Dump transaction updates before panicing

When errors=panic, we need to dump transaction updates before calling
bch2_inconsistent_error().
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent ad5d3d82
......@@ -73,8 +73,8 @@ do { \
#define bch2_trans_inconsistent(trans, ...) \
({ \
bch_err(trans->c, __VA_ARGS__); \
bch2_inconsistent_error(trans->c); \
bch2_dump_trans_updates(trans); \
bch2_inconsistent_error(trans->c); \
})
#define bch2_trans_inconsistent_on(cond, trans, ...) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment