Date: Sat, 7 May 2011 02:00:35 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <201105070200.p4720mtb004299@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-05-07 02:00:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/kern vfs_subr.c Log: SVN rev 221570 on 2011-05-07 02:00:35Z by rmacklem MFC: r220967 Fix a LOR in vfs_busy() where, after msleeping, it would lock the mutexes in the wrong order for the case where the MBF_MNTLSTLOCK is set. I believe this did have the potential for deadlock. For example, if multiple nfsd threads called vfs_busyfs(), which calls vfs_busy() with MBF_MNTLSTLOCK. Thanks go to pho for catching this during his testing. Revision Changes Path 1.767.2.22 +2 -1 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105070200.p4720mtb004299>