Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 07:37:08 GMT
From:      soc-cjones <soc-cjones@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 82597 for review
Message-ID:  <200508260737.j7Q7b8QI024948@repoman.freebsd.org>

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

Change 82597 by soc-cjones@soc-cjones_ishtar on 2005/08/26 07:36:18

	Fix plex size increase on move by decrementing size when old sd destroyed.

Affected files ...

.. //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_move.c#15 edit

Differences ...

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

@@ -249,6 +249,7 @@
 		if (s == cursd) {
 		    printf("\thit!\n");
 			p->sdcount--;
+			p->size -= s->size;
 			err = gv_rm_sd(sc, req, s, 0);
 			printf("gv_move_sd: removed old subdisk\n");
 			if (err) {



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