PERFORCE change 123954 for review
Ulf Lilleengen
lulf at FreeBSD.org
Mon Jul 23 12:49:56 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123954
Change 123954 by lulf at lulf_carrot on 2007/07/23 12:49:40
- Change resetconfig to remove subdisks before drives, since we now
don't completely remove drives.
Affected files ...
.. //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_rm.c#10 edit
Differences ...
==== //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_rm.c#10 (text+ko) ====
@@ -168,10 +168,10 @@
}
}
/* Then if not, we remove everything. */
+ LIST_FOREACH_SAFE(s, &sc->subdisks, sd, s2)
+ gv_rm_sd(sc, s);
LIST_FOREACH_SAFE(d, &sc->drives, drive, d2)
gv_rm_drive(sc, d, 0);
- LIST_FOREACH_SAFE(s, &sc->subdisks, sd, s2)
- gv_rm_sd(sc, s);
LIST_FOREACH_SAFE(p, &sc->plexes, plex, p2)
gv_rm_plex(sc, p);
LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2)
More information about the p4-projects
mailing list