diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-24 09:52:30 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-24 22:43:19 +0200 |
commit | c8b27acc775990bbd01f067ee7616f7abf2c98a1 (patch) | |
tree | ca0d3a624b67a3973f1fd724111a8208d76eb34b /Documentation/hwmon/lm25066 | |
parent | block: bio_set_pages_dirty can't see NULL bv_page in a valid bio_vec (diff) | |
download | linux-c8b27acc775990bbd01f067ee7616f7abf2c98a1.tar.xz linux-c8b27acc775990bbd01f067ee7616f7abf2c98a1.zip |
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>
Diffstat (limited to 'Documentation/hwmon/lm25066')
0 files changed, 0 insertions, 0 deletions