From b2bf1a57873b8d0c1c673d7b2f0ba5233e5d9890 Mon Sep 17 00:00:00 2001 From: Rick Macklem Date: Tue, 9 Nov 2021 15:13:15 -0800 Subject: [PATCH] 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