diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-03-01 17:32:48 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-03-01 17:32:48 +0000 |
| commit | 03816084de88cd6d1f42d74e11a4f584cc8cc5b5 (patch) | |
| tree | 61672c851a5ea575d64f28109659aa72c49470f1 /sys/geom/concat/g_concat.c | |
| parent | 86e67aa89b4e02feca0ec5cd5b4dfa43db41ae1d (diff) | |
Notes
Diffstat (limited to 'sys/geom/concat/g_concat.c')
| -rw-r--r-- | sys/geom/concat/g_concat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/concat/g_concat.c b/sys/geom/concat/g_concat.c index eb7db8659951..f178e9142eb9 100644 --- a/sys/geom/concat/g_concat.c +++ b/sys/geom/concat/g_concat.c @@ -286,7 +286,6 @@ g_concat_check_and_run(struct g_concat_softc *sc) disk->d_consumer->provider->mediasize; if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) disk->d_end -= disk->d_consumer->provider->sectorsize; - disk->d_length = disk->d_end - disk->d_start; start = disk->d_end; } /* We have sc->sc_disks[sc->sc_ndisks - 1].d_end in 'start'. */ @@ -383,7 +382,6 @@ g_concat_add_disk(struct g_concat_softc *sc, struct g_provider *pp, u_int no) disk->d_softc = sc; disk->d_start = 0; /* not yet */ disk->d_end = 0; /* not yet */ - disk->d_length = 0; /* not yet */ disk->d_valid = 1; G_CONCAT_DEBUG(0, "Disk %s attached to %s.", pp->name, gp->name); |
