diff options
| author | 2018-05-08 21:33:54 -0400 | |
|---|---|---|
| committer | 2018-05-14 13:16:10 -0600 | |
| commit | 45db54d58de0b7171fe1f0d1dfc14378e464949e (patch) | |
| tree | 7710877ae0fa69ef957a8087785fb1e7e0d1e06d /include/linux/debugobjects.h | |
| parent | block: Add bio_copy_data_iter(), zero_fill_bio_iter() (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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
