Date: Wed, 22 Feb 2006 06:29:55 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <200602220629.k1M6TtJH015464@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2006-02-22 06:29:55 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: - We can not hold a vnode lock while we do a lookup. Search for and load modules prior to looking up the directory which we will cover to avoid this problem in mount. - We must hold the coveredvp locked before we can busy the mountpoint to prevent a lock order reversal with the vfs_busy() in lookup which holds the directory lock prior to doing a vfs_busy(). The directory lock is required to safely clear the v_mountedhere field on the directory. MFC After: 1 week Revision Changes Path 1.217 +25 -19 src/sys/kern/vfs_mount.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602220629.k1M6TtJH015464>