From e4fcb7bcc361b8d6a40f88503634f4a53ab8dc9e Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Thu, 14 Jul 2016 11:11:11 -0700 Subject: [PATCH] ioctl_ficlonerange.2: Mention a subtlety with length == 0 Passing length == 0 to clonerange actually makes it clone all the way to EOF. Signed-off-by: Darrick J. Wong --- man2/ioctl_ficlonerange.2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man2/ioctl_ficlonerange.2 b/man2/ioctl_ficlonerange.2 index d1da3e6d3..c4715d042 100644 --- a/man2/ioctl_ficlonerange.2 +++ b/man2/ioctl_ficlonerange.2 @@ -59,6 +59,9 @@ into the file at offset .IR dest_offset ", provided that both are files. +If +.IR src_length +is zero, the ioctl reflinks to the end of the source file. This information is conveyed in a structure of the following form: .in +4n