diff options
author | Christoph Hellwig <hch@lst.de> | 2015-02-11 14:07:49 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-02-11 11:24:12 -0700 |
commit | a0763b27bf24f028d8b049ad856b2ee031fb475d (patch) | |
tree | 7fba607dd8e679b6ee787b0c5257d7461c1bd8f5 /block/partitions | |
parent | 564e559f2baf6a868768d0cac286980b3cfd6e30 (diff) | |
download | op-kernel-dev-a0763b27bf24f028d8b049ad856b2ee031fb475d.zip op-kernel-dev-a0763b27bf24f028d8b049ad856b2ee031fb475d.tar.gz |
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: Christoph Hellwig <hch@lst.de>
Fixes: ddad8dd0a162 ("block: use blk_rq_map_user_iov to implement blk_rq_map_user")
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions