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 99dff222fe67..03afd5150916 100644 --- a/fs/proc_namespace.c +++ b/fs/proc_namespace.c | |||
@@ -27,7 +27,7 @@ static unsigned mounts_poll(struct file *file, poll_table *wait) | |||
27 | 27 | ||
28 | poll_wait(file, &p->ns->poll, wait); | 28 | poll_wait(file, &p->ns->poll, wait); |
29 | 29 | ||
30 | event = ACCESS_ONCE(ns->event); | 30 | event = READ_ONCE(ns->event); |
31 | if (m->poll_event != event) { | 31 | if (m->poll_event != event) { |
32 | m->poll_event = event; | 32 | m->poll_event = event; |
33 | res |= POLLERR | POLLPRI; | 33 | res |= POLLERR | POLLPRI; |