commit | 45db54d58de0b7171fe1f0d1dfc14378e464949e | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@gmail.com> | Tue May 08 21:33:54 2018 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Mon May 14 13:16:10 2018 -0600 |
tree | 7710877ae0fa69ef957a8087785fb1e7e0d1e06d | |
parent | 38a72dac48f631c2a90b831a3847cde116f21d3a [diff] |
block: Split out bio_list_copy_data() Found a bug (with ASAN) where we were passing a bio to bio_copy_data() with bi_next not NULL, when it should have been - a driver had left bi_next set to something after calling bio_endio(). Since the normal case is only copying single bios, split out bio_list_copy_data() to avoid more bugs like this in the future. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>