engines/sg: ensure we flag EIO on the right io_u
authorJens Axboe <axboe@kernel.dk>
Thu, 28 Feb 2019 17:07:38 +0000 (10:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 Feb 2019 17:08:08 +0000 (10:08 -0700)
For sync complete, set it on the io_u that corresponds to the hdr
we just read.

Fixes: a999bc49d7aa ("engines/sg: ensure we complete the right command for sync IO")
Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found