Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139194
b: refs/heads/master
c: d030588
h: refs/heads/master
v: v3
  • Loading branch information
Tony Battersby authored and Linus Torvalds committed Apr 1, 2009
1 parent 7d0a780 commit bb2c317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: abff55cee1039b5a3b96f7a5eb6e65b9f247a274
refs/heads/master: d0305882825784e74f68a56eee6c3a812a99f235
4 changes: 3 additions & 1 deletion trunk/fs/eventpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,8 +1054,10 @@ static int ep_send_events_proc(struct eventpoll *ep, struct list_head *head,
*/
if (revents) {
if (__put_user(revents, &uevent->events) ||
__put_user(epi->event.data, &uevent->data))
__put_user(epi->event.data, &uevent->data)) {
list_add(&epi->rdllink, head);
return eventcnt ? eventcnt : -EFAULT;
}
eventcnt++;
uevent++;
if (epi->event.events & EPOLLONESHOT)
Expand Down

0 comments on commit bb2c317

Please sign in to comment.