summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGreg Edwards <gedwards@ddn.com>2018-07-26 14:39:37 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-03 07:50:42 +0200
commitb8088c524ae21dc97c86e09f0e41bb419804b5ad (patch)
tree6da572083af3f5f67c9dae91d87640eda9b3c274 /fs
parentcc5d7097ba8f46a9b5382edba733e5a8705145ba (diff)
block: reset bi_iter.bi_done after splitting bio
commit 5151842b9d8732d4cbfa8400b40bff894f501b2f upstream. 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 <gedwards@ddn.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions