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

block: make blk_rq_map_user() clear ->bio if it unmaps it



That way the interface is symmetric, and calling blk_rq_unmap_user()
on the request wont oops.

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