diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-08 21:33:54 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-14 13:16:10 -0600 |
commit | 45db54d58de0b7171fe1f0d1dfc14378e464949e (patch) | |
tree | 7710877ae0fa69ef957a8087785fb1e7e0d1e06d /include/asm-generic/qspinlock.h | |
parent | 38a72dac48f631c2a90b831a3847cde116f21d3a (diff) | |
download | linux-stable-45db54d58de0b7171fe1f0d1dfc14378e464949e.tar.gz linux-stable-45db54d58de0b7171fe1f0d1dfc14378e464949e.tar.bz2 linux-stable-45db54d58de0b7171fe1f0d1dfc14378e464949e.zip |
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/asm-generic/qspinlock.h')
0 files changed, 0 insertions, 0 deletions