Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2003 18:52:52 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 24866 for review
Message-ID:  <200302090252.h192qq3r005409@repoman.freebsd.org>

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

Change 24866 by jmallett@jmallett_dalek on 2003/02/08 18:52:37

	If the size is 0, then don't add the partition.

Affected files ...

.. //depot/projects/mips/sys/geom/geom_fx.c#2 edit

Differences ...

==== //depot/projects/mips/sys/geom/geom_fx.c#2 (text+ko) ====

@@ -196,6 +196,8 @@
 			npart++;
 			vp = &label->vh_part[i];
 			g_fx_swap_volpart(vp);
+			if (!vp->vp_size)
+				continue;
 			g_slice_config(gp, i, G_SLICE_CONFIG_SET,
 			    vp->vp_begin, vp->vp_size, sectorsize,
 			    "%s%c", pp->name, 'a' + i);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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