Date: Fri, 28 Apr 2006 00:59:48 +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_lookup.c Message-ID: <200604280059.k3S0xnfB038671@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2006-04-28 00:59:48 UTC FreeBSD src repository Modified files: sys/kern vfs_lookup.c Log: - Consistently track ni_dvp and ni_vp with dvfslocked and vfslocked rather than trying to optimize it into a single lock. This adds more calls to lock giant with non smpsafe filesystems but is the only way to reliably hold the correct lock. - Remove an invalid assert in the mountedhere case in lookup and fix the code to properly deal with the scenario. We can actually have a lookup that returns dp == dvp with mountedhere set with certain unmount races. Tested by: kris Reported by: kris/mohans Revision Changes Path 1.90 +15 -13 src/sys/kern/vfs_lookup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604280059.k3S0xnfB038671>