io_u: get_next_offset() should always set io_u->verify_offset
authorJens Axboe <axboe@kernel.dk>
Tue, 11 Aug 2020 03:31:01 +0000 (21:31 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 11 Aug 2020 03:31:01 +0000 (21:31 -0600)
commit9bf4653293a4c534f5da1b7a0302e15bd530b967
tree112324e3d9787916391bb49a2ea7c0664dbf474e
parent4fff54ccba73aa59de250a0f4161b9ce3d952601
io_u: get_next_offset() should always set io_u->verify_offset

Don't assume that the original get_next_block() is the only place
that sets it. Set it unconditionally at the success exit path
of get_next_offset().

Fixes: 4fff54ccba73 ("verify: use origina offset for verification")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_u.c