mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
bcachefs: Dump transaction updates before panicing
When errors=panic, we need to dump transaction updates before calling bch2_inconsistent_error(). Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
ad5d3d820a
commit
0329631c91
1 changed files with 1 additions and 1 deletions
|
@ -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, ...) \
|
||||
|
|
Loading…
Reference in a new issue