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: Jens Axboe <jens.axboe@oracle.com>
Showing
Please register or sign in to comment