linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ioctl_ficlonerange.2: mention a subtlety with length == 0
@ 2016-07-14 18:11 Darrick J. Wong
  2016-07-16 10:26 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Darrick J. Wong @ 2016-07-14 18:11 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-fsdevel, linux-api, linux-man

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 <darrick.wong@oracle.com>
---
 man2/ioctl_ficlonerange.2 |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/man2/ioctl_ficlonerange.2 b/man2/ioctl_ficlonerange.2
index d1da3e6..c4715d0 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ioctl_ficlonerange.2: mention a subtlety with length == 0
  2016-07-14 18:11 [PATCH] ioctl_ficlonerange.2: mention a subtlety with length == 0 Darrick J. Wong
@ 2016-07-16 10:26 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2016-07-16 10:26 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: mtk.manpages, linux-fsdevel, linux-api, linux-man

On 07/14/2016 08:11 PM, Darrick J. Wong wrote:
> 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

> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
> ---
>  man2/ioctl_ficlonerange.2 |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/man2/ioctl_ficlonerange.2 b/man2/ioctl_ficlonerange.2
> index d1da3e6..c4715d0 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
>


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-16 10:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-14 18:11 [PATCH] ioctl_ficlonerange.2: mention a subtlety with length == 0 Darrick J. Wong
2016-07-16 10:26 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).