]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This update eliminates a lock-order reversal warning discovered
authorKirk McKusick <mckusick@FreeBSD.org>
Tue, 27 Sep 2011 17:41:48 +0000 (17:41 +0000)
committerKirk McKusick <mckusick@FreeBSD.org>
Tue, 27 Sep 2011 17:41:48 +0000 (17:41 +0000)
commit8cd680f8c37bf8f42e1adfd06a5e5ba3b27dd9dd
treed4c48cac410ff095c93340a9dfe0b1a8ca201d51
parent6b3b8a2109a7d4127ea71808aabb4b9f04c24175
This update eliminates a lock-order reversal warning discovered
whle tracking down the system hang reported in kern/160662 and
corrected in revision 225806. The LOR is not the cause of the system
hang and indeed cannot cause an actual deadlock. However, it can
be easily eliminated by defering the acquisition of a buflock until
after all the vnode locks have been acquired.

Reported by:     Hans Ottevanger
PR:              kern/160662
sys/ufs/ffs/ffs_snapshot.c