• Jens Axboe's avatar
    [PATCH] Fixup blk_rq_unmap_user() API · 8e5cfc45
    Jens Axboe authored
    The blk_rq_unmap_user() API is not very nice. It expects the caller to
    know that rq->bio has to be reset to the original bio, and it will
    silently do nothing if that is not done. Instead make it explicit that
    we need to pass in the first bio, by expecting a bio argument.
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    8e5cfc45
cdrom.c 96 KB