Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143620
b: refs/heads/master
c: 1af3557
h: refs/heads/master
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Greg Kroah-Hartman committed Apr 16, 2009
1 parent 266d506 commit 2bf3623
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: d094cbe998eb566d47552aa9d3c26c9123a7b858
refs/heads/master: 1af3557abdef34ee036a6de4cb79e24468544b8d
4 changes: 2 additions & 2 deletions trunk/fs/sysfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,11 +446,11 @@ static unsigned int sysfs_poll(struct file *filp, poll_table *wait)
if (buffer->event != atomic_read(&od->event))
goto trigger;

return 0;
return DEFAULT_POLLMASK;

trigger:
buffer->needs_read_fill = 1;
return POLLERR|POLLPRI;
return DEFAULT_POLLMASK|POLLERR|POLLPRI;
}

void sysfs_notify_dirent(struct sysfs_dirent *sd)
Expand Down

0 comments on commit 2bf3623

Please sign in to comment.