Skip to content
Commit a0763b27 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

block: handle the null_mapped flag correctly in blk_rq_map_user_iov



The tape drivers (and the sg driver in a special case that doesn't matter
here) use the null_mapped flag to tell blk_rq_map_user to not copy around
any data into or out of the bounce buffers.  blk_rq_map_user_iov never
got that treatment, which didn't matter until I refactored blk_rq_map_user
to be implemented in terms of blk_rq_map_user_iov.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Fixes: ddad8dd0 ("block: use blk_rq_map_user_iov to implement blk_rq_map_user")
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 564e559f
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