bcachefs: Ensure fsck error is printed before panic
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 9 Oct 2022 04:54:36 +0000 (00:54 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:42 +0000 (17:09 -0400)
commit22f516213358379732d63367432d334157cbbe4d
treed3cdfc8471af44ceec21cbc3bd9bbc9092a3f909
parent8aaee94d463f781fbd5377b7d96234342de9c6eb
bcachefs: Ensure fsck error is printed before panic

When errors=panic, we want to make sure we print the error before
calling bch2_inconsistent_error().

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/error.c