git: b2bf1a57873b - main - VOP_ALLOCATE: Update man page for Commit f0c9847a6c47
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Nov 2021 23:16:48 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=b2bf1a57873b8d0c1c673d7b2f0ba5233e5d9890
commit b2bf1a57873b8d0c1c673d7b2f0ba5233e5d9890
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2021-11-09 23:13:15 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2021-11-09 23:13:15 +0000
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
---
share/man/man9/VOP_ALLOCATE.9 | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/share/man/man9/VOP_ALLOCATE.9 b/share/man/man9/VOP_ALLOCATE.9
index 6f1f54cc01fd..27ba348d5438 100644
--- a/share/man/man9/VOP_ALLOCATE.9
+++ b/share/man/man9/VOP_ALLOCATE.9
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 3, 2013
+.Dd November 8, 2021
.Dt VOP_ALLOCATE 9
.Os
.Sh NAME
@@ -37,7 +37,13 @@
.In sys/param.h
.In sys/vnode.h
.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
This call allocates storage for a range of offsets in a file.
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.
.It Fa len
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
.Pp
The