diff options
author | Alexander Motin <mav@FreeBSD.org> | 2013-03-26 05:42:12 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2013-03-26 05:42:12 +0000 |
commit | a93c0ed463e8a0c63aa87f95dbbab6cc2433ac3b (patch) | |
tree | 3183134439d35c0dca4243945d0052c801c76211 /sys/geom/gate | |
parent | 35bec3655eb55eef8d64c883f1ea2ad3966123f8 (diff) | |
download | src-a93c0ed463e8a0c63aa87f95dbbab6cc2433ac3b.tar.gz src-a93c0ed463e8a0c63aa87f95dbbab6cc2433ac3b.zip |
Remove extra bio_data and bio_length copying to child request after calling
g_clone_bio(), that already copied them.
Notes
Notes:
svn path=/head/; revision=248720
Diffstat (limited to 'sys/geom/gate')
-rw-r--r-- | sys/geom/gate/g_gate.c | 2 |
1 files changed, 0 insertions, 2 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; |