diff options
author | mav <mav@FreeBSD.org> | 2013-03-26 05:42:12 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2013-03-26 05:42:12 +0000 |
commit | 7997002b4f25acca523ed49b4579f479e8da0c77 (patch) | |
tree | 3183134439d35c0dca4243945d0052c801c76211 /sys/geom/nop | |
parent | 02bcc8d29e3714844b09865d96538eba48d66497 (diff) | |
download | FreeBSD-src-7997002b4f25acca523ed49b4579f479e8da0c77.zip FreeBSD-src-7997002b4f25acca523ed49b4579f479e8da0c77.tar.gz |
Remove extra bio_data and bio_length copying to child request after calling
g_clone_bio(), that already copied them.
Diffstat (limited to 'sys/geom/nop')
-rw-r--r-- | sys/geom/nop/g_nop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/nop/g_nop.c b/sys/geom/nop/g_nop.c index 099df49..2a28038 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; |