Fix blocking races in various *_locate() functions within softupdates.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 4 Jun 2006 19:37:23 +0000 (19:37 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 4 Jun 2006 19:37:23 +0000 (19:37 +0000)
commit98a74972ee476127f84278ad7420af36779b6bd0
treeb303c128ab02a5b9144aca38f502656a9ed2207f
parent1f572d0f3ea1607d90ebc5e92391b0f4bba785b8
Fix blocking races in various *_locate() functions within softupdates.
If softupdates blocks in malloc(), its understanding of the existance
of a data structure may change.  A relookup of the data structure is
required to ensure that the assumed state still holds.

Taken-from: FreeBSD/1.166
sys/vfs/ufs/ffs_softdep.c