summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorhmp <hmp@FreeBSD.org>2003-10-23 03:14:21 +0000
committerhmp <hmp@FreeBSD.org>2003-10-23 03:14:21 +0000
commit68b358412fa117d5c0cc127b357766d43537fc35 (patch)
treea1ce9bc9ea406ea2a99e0dfe6be741d87fd37048 /share/man
parent396f7d0d55afc469aaf89e6869494e3701daa918 (diff)
downloadFreeBSD-src-68b358412fa117d5c0cc127b357766d43537fc35.zip
FreeBSD-src-68b358412fa117d5c0cc127b357766d43537fc35.tar.gz
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.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/VOP_LEASE.919
1 files changed, 10 insertions, 9 deletions
diff --git a/share/man/man9/VOP_LEASE.9 b/share/man/man9/VOP_LEASE.9
index cf26b7b..becf68b 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 .
OpenPOWER on IntegriCloud