Date: Sat, 23 Apr 2011 11:22:48 +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: <201104231122.p3NBMxt4098051@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-04-23 11:22:48 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: SVN rev 220967 on 2011-04-23 11:22:48Z by rmacklem 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. Tested by: pho Submitted by: kib MFC after: 2 weeks Revision Changes Path 1.808 +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?201104231122.p3NBMxt4098051>