bcachefs: bch2_trans_in_restart_error()
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 1 Feb 2023 21:15:51 +0000 (16:15 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:50 +0000 (17:09 -0400)
commit12344c7cb966e1dbcb213ad1507c2ef3932790a3
treee648e82399b3c232774f3d1a6394a2d2da9f1d10
parent2e98404000e9c48c235c234bd179bb1acbf4c4e2
bcachefs: bch2_trans_in_restart_error()

This replaces various BUG_ON() assertions with panics that tell us where
the restart was done and the restart type.

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