commit | c8b27acc775990bbd01f067ee7616f7abf2c98a1 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jul 24 09:52:30 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jul 24 14:43:19 2018 -0600 |
tree | ca0d3a624b67a3973f1fd724111a8208d76eb34b | |
parent | 3bb5098310317ca62304bd21af6ccea57d799b06 [diff] |
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>