1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

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:
Pawel Jakub Dawidek 2006-04-30 22:14:17 +00:00
parent 92d4750b38
commit ffd106f5a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158195

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;