Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 749
b: refs/heads/master
c: 4bf69b2
h: refs/heads/master
i:
  747: cf4628e
v: v3
  • Loading branch information
Ken Chen authored and Linus Torvalds committed May 1, 2005
1 parent 372f12c commit c24160c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 212079cf4ee99e492a57b817e796825d423a30bb
refs/heads/master: 4bf69b2a06090c01c27f25ea5cd1440f7bf9256f
3 changes: 2 additions & 1 deletion trunk/fs/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,8 @@ int fastcall aio_complete(struct kiocb *iocb, long res, long res2)

tail = info->tail;
event = aio_ring_event(info, tail, KM_IRQ0);
tail = (tail + 1) % info->nr;
if (++tail >= info->nr)
tail = 0;

event->obj = (u64)(unsigned long)iocb->ki_obj.user;
event->data = iocb->ki_user_data;
Expand Down

0 comments on commit c24160c

Please sign in to comment.