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.
This commit is contained in:
parent
ed06180abe
commit
7c3e994d60
@ -41,20 +41,21 @@
|
|||||||
.Fn VOP_LEASE "struct vnode *vp" "struct thread *td" "struct ucred *cred" "int type"
|
.Fn VOP_LEASE "struct vnode *vp" "struct thread *td" "struct ucred *cred" "int type"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
This entry point is currently not implemented.
|
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.
|
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 two operation types supported are
|
||||||
The function currently always returns 0.
|
.Dv LEASE_READ
|
||||||
.Sh LOCKS
|
and
|
||||||
The vnode must be exclusively locked on entry, and should remain exclusively
|
.Dv LEASE_WRITE .
|
||||||
locked on return.
|
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
If successful, zero is returned.
|
The function currently returns 0 in all cases.
|
||||||
Otherwise, well... zero is returned too.
|
|
||||||
.Sh ERRORS
|
.Sh ERRORS
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr VOP_READ 9 ,
|
.Xr VOP_READ 9 ,
|
||||||
.Xr VOP_WRITE 9
|
.Xr VOP_WRITE 9
|
||||||
|
.Sh LOCKS
|
||||||
|
The vnode must be exclusively locked on entry, and should remain exclusively
|
||||||
|
locked on return.
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
This man page was written by
|
This manual page was written by
|
||||||
.An Matt Dillon .
|
.An Matt Dillon .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user