Date: Tue, 30 Aug 2005 16:12:03 +0000 (UTC) From: Alexander Kabaev <kan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_lookup.c Message-ID: <200508301612.j7UGC3CM085774@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kan 2005-08-30 16:12:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern vfs_lookup.c Log: MFC r1.81: Do not keep parent directory locked while calling VFS_ROOT to traverse mount points in lookup(). The lock can be dropped safely around VFS_ROOT because LOCKPARENT semantics with child and parent vnodes coming from different FSes does not really have any meaningful use and we do not really care about parent state after we relock it. This prevents easily triggered deadlock on systems using automounter daemon. Approved by: re (scottl) Revision Changes Path 1.80.2.1 +2 -0 src/sys/kern/vfs_lookup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508301612.j7UGC3CM085774>