bcachefs: Fix erasure coding shutdown path
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 22 Feb 2023 23:35:51 +0000 (18:35 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:54 +0000 (17:09 -0400)
commite3877382fb9d0a8ae43c7e012742622bbd6e6d17
tree01fb599402c529e1d6b833d682d34a40931779a4
parent64784ade4fd75cdd47d7ddfbfcbed3506fe10523
bcachefs: Fix erasure coding shutdown path

It's possible when shutting down to for a stripe head to have a new
stripe that doesn't yet have any blocks allocated - we just need to free
it.

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