summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoran Dirk Greef <joran@ronomon.com>2021-01-23 11:29:56 +0200
committerJoran Dirk Greef <joran@ronomon.com>2021-01-23 11:29:56 +0200
commit1692aa8af917089ee606358fef58d76c5e3fa61b (patch)
treed7fd1e8dd0a90ce0d3df9e9d5c45424e5dfcf89d
parentd24710922cdcdb0653c9f57bb8730aa113c6990b (diff)
downloadliburing-1692aa8af917089ee606358fef58d76c5e3fa61b.tar.gz
liburing-1692aa8af917089ee606358fef58d76c5e3fa61b.tar.bz2
Fix IORING_OP_FALLOCATE args in io_uring_enter(2) man page
`addr` must in fact contain the length. `len` is used for the fallocate mode. See: https://patchwork.kernel.org/project/linux-fsdevel/patch/ 20191213183632.19441-2-axboe@kernel.dk/ Signed-off-by: Joran Dirk Greef <joran@coil.com>
-rw-r--r--man/io_uring_enter.24
1 files changed, 3 insertions, 1 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index da20451..086207d 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -453,9 +453,11 @@ Issue the equivalent of a
system call.
.I fd
must be set to the file descriptor,
+.I len
+must contain the mode associated with the operation,
.I off
must contain the offset on which to operate, and
-.I len
+.I addr
must contain the length. See also
.BR fallocate(2)
for the general description of the related system call. Available since 5.6.