summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2013-03-26 05:42:12 +0000
committerAlexander Motin <mav@FreeBSD.org>2013-03-26 05:42:12 +0000
commita93c0ed463e8a0c63aa87f95dbbab6cc2433ac3b (patch)
tree3183134439d35c0dca4243945d0052c801c76211
parent35bec3655eb55eef8d64c883f1ea2ad3966123f8 (diff)
Notes
-rw-r--r--sys/geom/gate/g_gate.c2
-rw-r--r--sys/geom/nop/g_nop.c2
-rw-r--r--sys/geom/raid/tr_raid1e.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/sys/geom/gate/g_gate.c b/sys/geom/gate/g_gate.c
index c44993abb3ac..0727ecd68f96 100644
--- a/sys/geom/gate/g_gate.c
+++ b/sys/geom/gate/g_gate.c
@@ -245,8 +245,6 @@ g_gate_start(struct bio *pbp)
}
cbp->bio_done = g_gate_done;
cbp->bio_offset = pbp->bio_offset + sc->sc_readoffset;
- cbp->bio_data = pbp->bio_data;
- cbp->bio_length = pbp->bio_length;
cbp->bio_to = sc->sc_readcons->provider;
g_io_request(cbp, sc->sc_readcons);
return;
diff --git a/sys/geom/nop/g_nop.c b/sys/geom/nop/g_nop.c
index 099df49182fd..2a280386c2fc 100644
--- a/sys/geom/nop/g_nop.c
+++ b/sys/geom/nop/g_nop.c
@@ -136,8 +136,6 @@ g_nop_start(struct bio *bp)
}
cbp->bio_done = g_std_done;
cbp->bio_offset = bp->bio_offset + sc->sc_offset;
- cbp->bio_data = bp->bio_data;
- cbp->bio_length = bp->bio_length;
pp = LIST_FIRST(&gp->provider);
KASSERT(pp != NULL, ("NULL pp"));
cbp->bio_to = pp;
diff --git a/sys/geom/raid/tr_raid1e.c b/sys/geom/raid/tr_raid1e.c
index e28f9843235a..679b7669b6ed 100644
--- a/sys/geom/raid/tr_raid1e.c
+++ b/sys/geom/raid/tr_raid1e.c
@@ -1076,8 +1076,6 @@ rebuild_round_done:
offset += vol->v_strip_size;
}
cbp->bio_offset = offset + start;
- cbp->bio_length = bp->bio_length;
- cbp->bio_data = bp->bio_data;
cbp->bio_cmd = BIO_WRITE;
cbp->bio_cflags = G_RAID_BIO_FLAG_REMAP;
cbp->bio_caller2 = (void *)mask;