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

[PATCH] Fixup blk_rq_unmap_user() API



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>
parent 48785bb9
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