Date: Fri, 25 Apr 1997 21:09:40 -0700 (PDT) From: KATO Takenori <kato@FreeBSD.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sys@FreeBSD.org Subject: cvs commit: src/sys/miscfs/union union_vnops.c Message-ID: <199704260409.VAA03982@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kato 97/04/25 21:09:40 Modified: sys/miscfs/union union_vnops.c Log: 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. Revision Changes Path 1.28 +12 -2 src/sys/miscfs/union/union_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704260409.VAA03982>