summaryrefslogtreecommitdiffstats
path: root/sys/libkern/index.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-04-11 09:28:32 +0000
committerjeff <jeff@FreeBSD.org>2005-04-11 09:28:32 +0000
commit17be4cbfa047a243a155d8a89ab2d2d73385453b (patch)
tree49cd9fd0a81151d8bc7ad8ed00f8c75f00937cce /sys/libkern/index.c
parent1b29b37e26af38bd1aeef1d808338060588d0066 (diff)
downloadFreeBSD-src-17be4cbfa047a243a155d8a89ab2d2d73385453b.zip
FreeBSD-src-17be4cbfa047a243a155d8a89ab2d2d73385453b.tar.gz
- 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.
Diffstat (limited to 'sys/libkern/index.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud