diff options
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/mirror/g_mirror.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c index ff967f8..7505899 100644 --- a/sys/geom/mirror/g_mirror.c +++ b/sys/geom/mirror/g_mirror.c @@ -2699,6 +2699,8 @@ g_mirror_can_go(void) g_topology_lock(); LIST_FOREACH(gp, &g_mirror_class.geom, geom) { sc = gp->softc; + if (sc == NULL) + continue; pp = sc->sc_provider; if (pp == NULL || pp->error != 0) { can_go = 0; |