View | Details | Raw Unified | Return to bug 221804
Collapse All | Expand All

(-)g_journal.c (-1 / +1 lines)
Lines 2430-2435 Link Here
2430
		    sc->sc_current_count);
2430
		    sc->sc_current_count);
2431
	}
2431
	}
2432
2432
2433
	gp->softc = NULL;
2433
	LIST_FOREACH(cp, &gp->consumer, consumer) {
2434
	LIST_FOREACH(cp, &gp->consumer, consumer) {
2434
		if (cp->acr + cp->acw + cp->ace > 0)
2435
		if (cp->acr + cp->acw + cp->ace > 0)
2435
			g_access(cp, -1, -1, -1);
2436
			g_access(cp, -1, -1, -1);
Lines 2441-2447 Link Here
2441
		 */
2442
		 */
2442
		g_post_event(g_journal_destroy_consumer, cp, M_WAITOK, NULL);
2443
		g_post_event(g_journal_destroy_consumer, cp, M_WAITOK, NULL);
2443
	}
2444
	}
2444
	gp->softc = NULL;
2445
	g_wither_geom(gp, ENXIO);
2445
	g_wither_geom(gp, ENXIO);
2446
	free(sc, M_JOURNAL);
2446
	free(sc, M_JOURNAL);
2447
	return (0);
2447
	return (0);

Return to bug 221804