Skip to content
Commit 60540161 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: don't use bio_has_data() in the completion path



We should just check for rq->bio, as that is really the information
we are looking for. Even if the bio attached doesn't carry data,
we still need to do IO post processing on it.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent ab780f1e
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