ioctl_ficlonerange.2: mention a subtlety with length == 0
PATCH 1/1 ioctl_ficlonerange.2: mention a subtlety with length == 0
I forgot to document that passing length == 0 to clonerange actually makes it clone all the way to EOF, so do that now.
Signed-off-by Darrick J. Wong <[email protected]>
--- man2/ioctl_ficlonerange.2 | 3 +++ 1 file changed, 3 insertions(+)
man2/ioctl_ficlonerange.2 +3 -0
@@ -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
Quoted 2 lines · Darrick J. Wong
I forgot to document that passing length == 0 to clonerange actually makes it clone all the way to EOF, so do that now.
Thanks, Darrick. Applied.
Cheers,
Michael
Quoted 20 lines
Signed-off-by Darrick J. Wong <[email protected]>--- man2/ioctl_ficlonerange.2 | 3 +++ 1 file changed, 3 insertions(+)man2/ioctl_ficlonerange.2 +3
-0@@ -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
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html