diff options
| author | Greg Edwards <[email protected]> | 2018-07-26 18:39:37 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-07-27 15:10:34 +0000 |
| commit | 5151842b9d8732d4cbfa8400b40bff894f501b2f (patch) | |
| tree | 13b3c4f70d1b2e19d6a787f2c59ccb0cad0301a0 /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | |
| parent | block: bio_iov_iter_get_pages: pin more pages for multi-segment IOs (diff) | |
| download | kernel-5151842b9d8732d4cbfa8400b40bff894f501b2f.tar.gz kernel-5151842b9d8732d4cbfa8400b40bff894f501b2f.zip | |
block: reset bi_iter.bi_done after splitting bio
After the bio has been updated to represent the remaining sectors, reset
bi_done so bio_rewind_iter() does not rewind further than it should.
This resolves a bio_integrity_process() failure on reads where the
original request was split.
Fixes: 63573e359d05 ("bio-integrity: Restore original iterator on verify stage")
Signed-off-by: Greg Edwards <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions
