]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sunrpc/sched.c
userfaultfd: waitqueue: add nr wake parameter to __wake_up_locked_key
[karo-tx-linux.git] / net / sunrpc / sched.c
index 337ca851a350cc412532ff4d3c96d87a8605e785..b140c092d226edd7d207f077e511d828cc08a615 100644 (file)
@@ -297,7 +297,7 @@ static int rpc_complete_task(struct rpc_task *task)
        clear_bit(RPC_TASK_ACTIVE, &task->tk_runstate);
        ret = atomic_dec_and_test(&task->tk_count);
        if (waitqueue_active(wq))
-               __wake_up_locked_key(wq, TASK_NORMAL, &k);
+               __wake_up_locked_key(wq, TASK_NORMAL, 1, &k);
        spin_unlock_irqrestore(&wq->lock, flags);
        return ret;
 }