Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204763
b: refs/heads/master
c: 642b512
h: refs/heads/master
i:
  204761: 4301ea9
  204759: dbae08b
v: v3
  • Loading branch information
Satoru Takeuchi authored and Linus Torvalds committed Aug 5, 2010
1 parent ebf1ce0 commit 1cd74ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 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: cdd854bc42b5e6c79bbbc40c6600d995ffe6e747
refs/heads/master: 642b5123ac5ec40a28575e930a3e2ff595473e9d
21 changes: 11 additions & 10 deletions trunk/fs/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp)
/* sys_io_destroy:
* Destroy the aio_context specified. May cancel any outstanding
* AIOs and block on completion. Will fail with -ENOSYS if not
* implemented. May fail with -EFAULT if the context pointed to
* implemented. May fail with -EINVAL if the context pointed to
* is invalid.
*/
SYSCALL_DEFINE1(io_destroy, aio_context_t, ctx)
Expand Down Expand Up @@ -1795,15 +1795,16 @@ SYSCALL_DEFINE3(io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb,

/* io_getevents:
* Attempts to read at least min_nr events and up to nr events from
* the completion queue for the aio_context specified by ctx_id. May
* fail with -EINVAL if ctx_id is invalid, if min_nr is out of range,
* if nr is out of range, if when is out of range. May fail with
* -EFAULT if any of the memory specified to is invalid. May return
* 0 or < min_nr if no events are available and the timeout specified
* by when has elapsed, where when == NULL specifies an infinite
* timeout. Note that the timeout pointed to by when is relative and
* will be updated if not NULL and the operation blocks. Will fail
* with -ENOSYS if not implemented.
* the completion queue for the aio_context specified by ctx_id. If
* it succeeds, the number of read events is returned. May fail with
* -EINVAL if ctx_id is invalid, if min_nr is out of range, if nr is
* out of range, if timeout is out of range. May fail with -EFAULT
* if any of the memory specified is invalid. May return 0 or
* < min_nr if the timeout specified by timeout has elapsed
* before sufficient events are available, where timeout == NULL
* specifies an infinite timeout. Note that the timeout pointed to by
* timeout is relative and will be updated if not NULL and the
* operation blocks. Will fail with -ENOSYS if not implemented.
*/
SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id,
long, min_nr,
Expand Down

0 comments on commit 1cd74ca

Please sign in to comment.