diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-11 09:28:32 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-11 09:28:32 +0000 |
commit | 17be4cbfa047a243a155d8a89ab2d2d73385453b (patch) | |
tree | 49cd9fd0a81151d8bc7ad8ed00f8c75f00937cce /sys/libkern/index.c | |
parent | 1b29b37e26af38bd1aeef1d808338060588d0066 (diff) | |
download | FreeBSD-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