We shouldn't lock the topology here - we will panic on assertion inside

g_raid3_bump_syncid().

Reported by:	Bradley W. Dutton <brad-fbsd-stable@duttonbros.com>
MFC after:	1 day
This commit is contained in:
pjd 2006-04-30 22:14:17 +00:00
parent a31efad335
commit 3c465c60bb

View File

@ -1856,9 +1856,7 @@ g_raid3_register_request(struct bio *pbp)
*/
if ((sc->sc_bump_id & G_RAID3_BUMP_SYNCID) != 0) {
sc->sc_bump_id &= ~G_RAID3_BUMP_SYNCID;
g_topology_lock();
g_raid3_bump_syncid(sc);
g_topology_unlock();
}
g_raid3_scatter(pbp);
break;