Christoph Hellwig c8b27acc77 bcache: don't clone bio in bch_data_verify
We immediately overwrite the biovec array, so instead just allocate
a new bio and copy over the disk, setor and size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-07-24 14:43:19 -06:00
..
2018-06-15 18:10:01 -03:00
2018-03-18 20:15:20 -06:00
2018-06-15 18:10:01 -03:00
2018-06-15 18:10:01 -03:00
2018-03-18 20:15:20 -06:00