VOP_LEASE9
Validate a vnode for a particular set of credentials and operation type
Usage
#include <sys/param.h>
#include <sys/mount.h>
int
VOP_LEASE(struct vnode *vp, struct thread *td, struct ucred *cred, int type);
Overview
This entry point is currently not implemented. 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.
Return values
The function currently returns 0 in all cases.
Errors
Locks
The vnode must be exclusively locked on entry, and should remain exclusively locked on return.