diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-01-25 12:44:44 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-28 10:04:46 +0100 |
commit | 5d84070ee0a433620c57e85dac7f82faaec5fbb3 (patch) | |
tree | 9a07548504683bcde2b262b9e2d675cbe7cea2b7 /block/ll_rw_blk.c | |
parent | block: allow queue dma_alignment of zero (diff) | |
download | linux-5d84070ee0a433620c57e85dac7f82faaec5fbb3.tar.xz linux-5d84070ee0a433620c57e85dac7f82faaec5fbb3.zip |
__bio_clone: don't calculate hw/phys segment counts
If the users sets a new ->bi_bdev on the bio after __bio_clone() has
returned it, the "segment counts valid" flag still remains even though
it may be different with the new target. So don't calculate segment
counts in __bio_clone().
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/ll_rw_blk.c')
0 files changed, 0 insertions, 0 deletions