VOP_LEASE

Command: man perldoc info search(apropos)  


VOP_LEASE(9) FreeBSD Kernel Developer's Manual VOP_LEASE(9)

NAME
VOP_LEASE -- validate a vnode for a particular set of credentials and
operation type

SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>

int
VOP_LEASE(struct vnode *vp, struct thread *td, struct ucred *cred,
int type);

DESCRIPTION
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
SEE ALSO
VOP_READ(9), VOP_WRITE(9)

LOCKS
The vnode must be exclusively locked on entry, and should remain exclu-
sively locked on return.

AUTHORS
This manual page was written by Matt Dillon.

FreeBSD 6.2 September 24, 1999 FreeBSD 6.2

Copyright ©2006 TheBestISP.com