Commit 99a3d398 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: ec: Fix a lost wakeup

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 954ed17e
...@@ -1146,6 +1146,7 @@ static void ec_stripe_create(struct ec_stripe_new *s) ...@@ -1146,6 +1146,7 @@ static void ec_stripe_create(struct ec_stripe_new *s)
mutex_lock(&c->ec_stripe_new_lock); mutex_lock(&c->ec_stripe_new_lock);
list_del(&s->list); list_del(&s->list);
mutex_unlock(&c->ec_stripe_new_lock); 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->existing_stripe);
ec_stripe_buf_exit(&s->new_stripe); ec_stripe_buf_exit(&s->new_stripe);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment