From: Kent Overstreet Date: Sat, 10 Jun 2023 05:37:16 +0000 (-0400) Subject: bcachefs: ec: Fix a lost wakeup X-Git-Tag: io_uring-6.7-2023-11-10~119^2~269 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=99a3d39893615ac107a4f82e86d4c26792131b91;p=linux-block.git bcachefs: ec: Fix a lost wakeup Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index dfc0a61afa51..b7e3889b114b 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.c @@ -1146,6 +1146,7 @@ err: mutex_lock(&c->ec_stripe_new_lock); list_del(&s->list); mutex_unlock(&c->ec_stripe_new_lock); + wake_up(&c->ec_stripe_new_wait); ec_stripe_buf_exit(&s->existing_stripe); ec_stripe_buf_exit(&s->new_stripe);