]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r220967
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 May 2011 02:00:35 +0000 (02:00 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 May 2011 02:00:35 +0000 (02:00 +0000)
commit20c1017f66342aae3f0124e43b3f8d86975af08e
tree9d751239bdfe75479568aa092ef631d1b0dd8aa2
parent90d88468fcb0ed1b498d6f8dc184e2c9d713c1ca
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@221570 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/vfs_subr.c