diff options
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r-- | fs/eventpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index c5d9880b5fcf..277cc38aeda5 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -1213,7 +1213,7 @@ static noinline void ep_destroy_wakeup_source(struct epitem *epi) | |||
1213 | { | 1213 | { |
1214 | struct wakeup_source *ws = ep_wakeup_source(epi); | 1214 | struct wakeup_source *ws = ep_wakeup_source(epi); |
1215 | 1215 | ||
1216 | rcu_assign_pointer(epi->ws, NULL); | 1216 | RCU_INIT_POINTER(epi->ws, NULL); |
1217 | 1217 | ||
1218 | /* | 1218 | /* |
1219 | * wait for ep_pm_stay_awake_rcu to finish, synchronize_rcu is | 1219 | * wait for ep_pm_stay_awake_rcu to finish, synchronize_rcu is |