aboutsummaryrefslogtreecommitdiffstats
path: root/fs/eventpoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r--fs/eventpoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index d77f94491352..1e009cad8d5c 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1639,9 +1639,9 @@ fetch_events:
1639 1639
1640 spin_lock_irqsave(&ep->lock, flags); 1640 spin_lock_irqsave(&ep->lock, flags);
1641 } 1641 }
1642 __remove_wait_queue(&ep->wq, &wait);
1643 1642
1644 set_current_state(TASK_RUNNING); 1643 __remove_wait_queue(&ep->wq, &wait);
1644 __set_current_state(TASK_RUNNING);
1645 } 1645 }
1646check_events: 1646check_events:
1647 /* Is it worth to try to dig for events ? */ 1647 /* Is it worth to try to dig for events ? */