Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2005 03:37:48 GMT
From:      soc-cjones <soc-cjones@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 82004 for review
Message-ID:  <200508150337.j7F3bmCY009005@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=82004

Change 82004 by soc-cjones@soc-cjones_ishtar on 2005/08/15 03:36:59

	Now we can use gv_rm_sd to kill the old sds without causing a kernel panic.  Yay!

Affected files ...

.. //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_rm.c#3 edit

Differences ...

==== //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_rm.c#3 (text+ko) ====

@@ -257,7 +257,8 @@
 	pp = s->provider;
 
 	/* Clean up. */
-	LIST_REMOVE(s, in_plex);
+	if (strlen(s->plex)) /* XXX: otherwise dies if we're not in a plex. */
+		LIST_REMOVE(s, in_plex);
 	LIST_REMOVE(s, from_drive);
 	LIST_REMOVE(s, sd);
 	gv_free_sd(s);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508150337.j7F3bmCY009005>