PERFORCE change 81970 for review
soc-cjones
soc-cjones at FreeBSD.org
Sun Aug 14 07:29:47 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=81970
Change 81970 by soc-cjones at soc-cjones_ishtar on 2005/08/14 07:29:38
Fix case where sd isn't part of a plex, and things die on gv_sd_to_plex.
Affected files ...
.. //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_plex.c#2 edit
Differences ...
==== //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_plex.c#2 (text+ko) ====
@@ -734,6 +734,8 @@
* configuration, we don't check the given value (should we?).
* XXX: shouldn't be done here
*/
+ if (!p) /* SD isn't part of a plex; we'll die if we don't exit now. */
+ return (NULL);
gv_sd_to_plex(p, s, 0);
/* Now check if there's already a geom for this plex. */
More information about the p4-projects
mailing list