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"
|
||||
.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 .
|
||||
|
Loading…
Reference in New Issue
Block a user