bcachefs: bucket_lock() is now a sleepable lock
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 27 Sep 2023 23:51:29 +0000 (19:51 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:15 +0000 (17:10 -0400)
commit73bbeaa2de1d429590a1b5ddd706dfeaf6d7d0e1
tree6797ba38ec27801ee907baba25a907b75ec45a2d
parent3c40841cdcf374d661ff14e7a707681342565166
bcachefs: bucket_lock() is now a sleepable lock

fsck_err() may sleep - it takes a mutex and may allocate memory, so
bucket_lock() needs to be a sleepable lock.

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