We do not hold ep->wq->lock, so we should not use wake_up_locked on it.

Signed-off-by: Christoph Hellwig <h...@lst.de>
---
 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

Reply via email to