bcachefs: Run freespace init in device hot add path
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 23 Mar 2023 00:48:37 +0000 (20:48 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:58 +0000 (17:09 -0400)
commitb1c945b3fd926ea121172eedc271f4b816b44387
tree292cb86cbafc2f1a0ecf4563d6274232369a72be
parent0fb11e0801962007adef5b628fec0f334e5358f2
bcachefs: Run freespace init in device hot add path

Like in the recovery, and device add, we have to check if devices don't
have the freespace btree initialized - this was missed in the device hot
add path.

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