Date: Fri, 25 May 2007 22:23:38 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_cache.c Message-ID: <200705252223.l4PMNcAw064808@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2007-05-25 22:23:38 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_cache.c
Log:
To avoid a deadlock when handling .. directory during a lookup, we unlock
parent vnode and relock it after locking child vnode. The problem was that
we always relock it exclusively, even when it was share-locked.
Discussed with: jeff
Revision Changes Path
1.112 +6 -3 src/sys/kern/vfs_cache.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705252223.l4PMNcAw064808>
