diff options
author | kato <kato@FreeBSD.org> | 1997-04-26 04:09:40 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-04-26 04:09:40 +0000 |
commit | f18676ff22d9297535b2acd920192c055db4ae2d (patch) | |
tree | 086af2b8fcb3c6b10e0beb3795c05ec0f22ed28f /sys/kern/kern_shutdown.c | |
parent | 80b96ecb2f86cc9a64bc39f7b7afb0f052645aef (diff) | |
download | FreeBSD-src-f18676ff22d9297535b2acd920192c055db4ae2d.zip FreeBSD-src-f18676ff22d9297535b2acd920192c055db4ae2d.tar.gz |
Do not clear UN_ULOCK in certain case.
Our vput calls vm_object_deallocate() --> vm_object_terminate(). The
vm_object_terminate() calls vn_lock(), since UN_LOCKED has been
already cleared in union_unlock(). Then, union_lock locks upper vnode
when UN_ULOCK is not set. The upper vnode is not unlocked when
UN_KLOCK is set in union_unlock(), thus, union_lock tries to lock
locked vnode and we get panic.
Diffstat (limited to 'sys/kern/kern_shutdown.c')
0 files changed, 0 insertions, 0 deletions