Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143621
b: refs/heads/master
c: 31b0709
h: refs/heads/master
i:
  143619: 266d506
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Greg Kroah-Hartman committed Apr 16, 2009
1 parent 2bf3623 commit 41e2fd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1af3557abdef34ee036a6de4cb79e24468544b8d
refs/heads/master: 31b07093c44a7a442394d44423e21d783f5523b8
4 changes: 2 additions & 2 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,14 +648,14 @@ static unsigned mounts_poll(struct file *file, poll_table *wait)
{
struct proc_mounts *p = file->private_data;
struct mnt_namespace *ns = p->ns;
unsigned res = 0;
unsigned res = POLLIN | POLLRDNORM;

poll_wait(file, &ns->poll, wait);

spin_lock(&vfsmount_lock);
if (p->event != ns->event) {
p->event = ns->event;
res = POLLERR;
res |= POLLERR | POLLPRI;
}
spin_unlock(&vfsmount_lock);

Expand Down

0 comments on commit 41e2fd4

Please sign in to comment.