bcachefs: Fix bch2_dev_remove_alloc()
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 7 Oct 2021 18:53:21 +0000 (14:53 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:13 +0000 (17:09 -0400)
commita9cb0a6706038292bbc22f50546859783ac492bc
tree0afd3bc2766eea73a083988e06e3a7037efbb0e2
parent97996ddfdb9b0b4df22913d04ce01a069a944430
bcachefs: Fix bch2_dev_remove_alloc()

It was missing a lockrestart_do(), to call bch2_trans_begin() and also
handle transaction restarts.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/super.c