Update the VOP_COPY_FILE_RANGE man page to reflect the semantic change

made by r354574.

This is a content change.
This commit is contained in:
rmacklem 2019-11-10 01:21:10 +00:00
parent 1aad1dc904
commit 26ac88438d

View File

@ -25,12 +25,13 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd November 8, 2019 .Dd November 9, 2019
.Dt VOP_COPY_FILE_RANGE 9 .Dt VOP_COPY_FILE_RANGE 9
.Os .Os
.Sh NAME .Sh NAME
.Nm VOP_COPY_FILE_RANGE .Nm VOP_COPY_FILE_RANGE
.Nd copy a byte range from one regular file to another within a file system .Nd copy a byte range from one file to another or within one file
in a single file system
.Sh SYNOPSIS .Sh SYNOPSIS
.In sys/param.h .In sys/param.h
.In sys/vnode.h .In sys/vnode.h
@ -46,8 +47,17 @@
.Fa "struct ucred *outcred" .Fa "struct ucred *outcred"
.Fa "struct thread *fsize_td" .Fa "struct thread *fsize_td"
.Sh DESCRIPTION .Sh DESCRIPTION
This entry point copies a byte range from one regular file to another within a This entry point copies a byte range from one regular file to another
file system. or within one file in a single file system.
.Fa invp
and
.Fa outvp
can refer to the same file.
For this case, the byte ranges defined by
.Fa *inoff ,
.Fa *outoff and
.Fa *len
will not overlap.
.Pp .Pp
The arguments are: The arguments are:
.Bl -tag -width ioflag .Bl -tag -width ioflag