[PATCH 2/2] epoll: use proper wake_up variant in ep_poll_callback
From: Christoph Hellwig
Date: Thu Nov 30 2017 - 09:21:12 EST
We do not hold ep->wq->lock, so we should not use wake_up_locked on it.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
fs/eventpoll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index afd548ebc328..eaaa39616232 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1190,7 +1190,7 @@ static int ep_poll_callback(wait_queue_entry_t *wait, unsigned mode, int sync, v
break;
}
}
- wake_up_locked(&ep->wq);
+ wake_up(&ep->wq);
}
if (waitqueue_active(&ep->poll_wait))
pwake++;
--
2.14.2