- Don't drop the lock in the default inactive handler anymore, VOP_NULL

will do for vop_stdinactive now.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-03-13 11:45:01 +00:00
parent 5e7475a329
commit 23f2513a4e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143494

View File

@ -80,7 +80,7 @@ struct vop_vector default_vnodeops = {
.vop_fsync = VOP_NULL,
.vop_getpages = vop_stdgetpages,
.vop_getwritemount = vop_stdgetwritemount,
.vop_inactive = vop_stdinactive,
.vop_inactive = VOP_NULL,
.vop_ioctl = VOP_ENOTTY,
.vop_islocked = vop_stdislocked,
.vop_lease = VOP_NULL,
@ -287,19 +287,6 @@ vop_stdislocked(ap)
return (lockstatus(ap->a_vp->v_vnlock, ap->a_td));
}
/* Mark the vnode inactive */
int
vop_stdinactive(ap)
struct vop_inactive_args /* {
struct vnode *a_vp;
struct thread *a_td;
} */ *ap;
{
VOP_UNLOCK(ap->a_vp, 0, ap->a_td);
return (0);
}
/*
* Return true for select/poll.
*/