VOP_ALLOCATE: Update man page for Commit f0c9847a6c47
Commit f0c9847a6c47 added the ioflag and cred arguments to VOP_ALLOCATE() for NFSv4.2 server support. This patch updates the man page for these arguments. Reviewed by: khng, gbe Differential Revision: https://reviews.freebsd.org/D32898
This commit is contained in:
parent
8e902c1d21
commit
b2bf1a5787
@ -27,7 +27,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd October 3, 2013
|
.Dd November 8, 2021
|
||||||
.Dt VOP_ALLOCATE 9
|
.Dt VOP_ALLOCATE 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -37,7 +37,13 @@
|
|||||||
.In sys/param.h
|
.In sys/param.h
|
||||||
.In sys/vnode.h
|
.In sys/vnode.h
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn VOP_ALLOCATE "struct vnode *vp" "off_t *offset" "off_t *len"
|
.Fo VOP_ALLOCATE
|
||||||
|
.Fa "struct vnode *vp"
|
||||||
|
.Fa "off_t *offset"
|
||||||
|
.Fa "off_t *len"
|
||||||
|
.Fa "int ioflag"
|
||||||
|
.Fa "struct ucred *cred"
|
||||||
|
.Fc
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
This call allocates storage for a range of offsets in a file.
|
This call allocates storage for a range of offsets in a file.
|
||||||
It is used to implement the
|
It is used to implement the
|
||||||
@ -52,6 +58,10 @@ The vnode of the file.
|
|||||||
The start of the range to allocate storage for in the file.
|
The start of the range to allocate storage for in the file.
|
||||||
.It Fa len
|
.It Fa len
|
||||||
The length of the range to allocate storage for in the file.
|
The length of the range to allocate storage for in the file.
|
||||||
|
.It Fa ioflag
|
||||||
|
Directives and hints to be given to the file system.
|
||||||
|
.It Fa cred
|
||||||
|
The credentials of the caller.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
|
Loading…
x
Reference in New Issue
Block a user