diff options
Diffstat (limited to 'fs/proc_namespace.c')
-rw-r--r-- | fs/proc_namespace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc_namespace.c b/fs/proc_namespace.c index 12412852d88a..5e289a7cbad1 100644 --- a/fs/proc_namespace.c +++ b/fs/proc_namespace.c | |||
@@ -23,12 +23,12 @@ static unsigned mounts_poll(struct file *file, poll_table *wait) | |||
23 | 23 | ||
24 | poll_wait(file, &p->ns->poll, wait); | 24 | poll_wait(file, &p->ns->poll, wait); |
25 | 25 | ||
26 | br_read_lock(vfsmount_lock); | 26 | br_read_lock(&vfsmount_lock); |
27 | if (p->m.poll_event != ns->event) { | 27 | if (p->m.poll_event != ns->event) { |
28 | p->m.poll_event = ns->event; | 28 | p->m.poll_event = ns->event; |
29 | res |= POLLERR | POLLPRI; | 29 | res |= POLLERR | POLLPRI; |
30 | } | 30 | } |
31 | br_read_unlock(vfsmount_lock); | 31 | br_read_unlock(&vfsmount_lock); |
32 | 32 | ||
33 | return res; | 33 | return res; |
34 | } | 34 | } |