Skip to content
Commit a3941ec1 authored by Roel Kluin's avatar Roel Kluin Committed by Jens Axboe
Browse files

loop: don't increment p->offset with (size_t) -EINVAL



Upon a 'transfer error block' size is set to -EINVAL, but this becomes positive
since size is unsigned: p->offset still gets incremented.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 5e18cfd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment