diff options
Diffstat (limited to 'fs/proc_namespace.c')
-rw-r--r-- | fs/proc_namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c index 7626ee11b06c..7b635d173213 100644 --- a/fs/proc_namespace.c +++ b/fs/proc_namespace.c | |||
@@ -28,7 +28,7 @@ static unsigned mounts_poll(struct file *file, poll_table *wait) | |||
28 | 28 | ||
29 | poll_wait(file, &p->ns->poll, wait); | 29 | poll_wait(file, &p->ns->poll, wait); |
30 | 30 | ||
31 | event = ACCESS_ONCE(ns->event); | 31 | event = READ_ONCE(ns->event); |
32 | if (m->poll_event != event) { | 32 | if (m->poll_event != event) { |
33 | m->poll_event = event; | 33 | m->poll_event = event; |
34 | res |= POLLERR | POLLPRI; | 34 | res |= POLLERR | POLLPRI; |