• J
    [PATCH] Fixup blk_rq_unmap_user() API · 8e5cfc45
    Jens Axboe 提交于
    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: NJens Axboe <jens.axboe@oracle.com>
    8e5cfc45
blkdev.h 25.9 KB