From 7c3e994d6023755c40f119fef826a71e49c5725f Mon Sep 17 00:00:00 2001 From: Hiten Pandya Date: Thu, 23 Oct 2003 03:14:21 +0000 Subject: [PATCH] Mdoc Janitor: * Remove first person sentence start. * Make use of .Dv for LEASE_READ and LEASE_WRITE. * Move the LOCKS section below the standard mdoc(7) RETURN VALUES section. * Cleanup grammar for RETURN VALUES and AUTHORS section. * Remove redundant sentence on return values. --- share/man/man9/VOP_LEASE.9 | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/share/man/man9/VOP_LEASE.9 b/share/man/man9/VOP_LEASE.9 index cf26b7b10959..becf68b543c3 100644 --- a/share/man/man9/VOP_LEASE.9 +++ b/share/man/man9/VOP_LEASE.9 @@ -41,20 +41,21 @@ .Fn VOP_LEASE "struct vnode *vp" "struct thread *td" "struct ucred *cred" "int type" .Sh DESCRIPTION This entry point is currently not implemented. -I believe the idea is to +The idea is to validate a vnode for a particular set of user credentials and operation type. -The two operation types supported are LEASE_READ and LEASE_WRITE. -The function currently always returns 0. -.Sh LOCKS -The vnode must be exclusively locked on entry, and should remain exclusively -locked on return. +The two operation types supported are +.Dv LEASE_READ +and +.Dv LEASE_WRITE . .Sh RETURN VALUES -If successful, zero is returned. -Otherwise, well... zero is returned too. +The function currently returns 0 in all cases. .Sh ERRORS .Sh SEE ALSO .Xr VOP_READ 9 , .Xr VOP_WRITE 9 +.Sh LOCKS +The vnode must be exclusively locked on entry, and should remain exclusively +locked on return. .Sh AUTHORS -This man page was written by +This manual page was written by .An Matt Dillon .