cvs commit: src/sys/kern vfs_subr.c
Jeff Roberson
jeff at FreeBSD.org
Mon Apr 11 02:28:33 PDT 2005
jeff 2005-04-11 09:28:33 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
- Change the VOP_LOCK UPGRADE in vput() to do a LK_NOWAIT to avoid a
potential lock order reversal. Also, don't unlock the vnode if this
fails, lockmgr has already unlocked it for us.
- Restructure vget() now that vn_lock() does all of VI_DOOMED checking
for us and also handles the case where there is no real lock type.
- If VI_OWEINACT is set, we need to upgrade the lock request to EXCLUSIVE
so that we can call inactive. It's not legal to vget a vnode that hasn't
had INACTIVE called yet.
Sponsored by: Isilon Systems, Inc.
Revision Changes Path
1.613 +43 -39 src/sys/kern/vfs_subr.c
More information about the cvs-src
mailing list