From: Christoph Hellwig Date: Wed, 11 Feb 2015 13:07:49 +0000 (+0100) Subject: block: handle the null_mapped flag correctly in blk_rq_map_user_iov X-Git-Tag: fixes-v4.0-rc1~118^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0763b27bf24f028d8b049ad856b2ee031fb475d;p=pandora-kernel.git 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 Fixes: ddad8dd0a162 ("block: use blk_rq_map_user_iov to implement blk_rq_map_user") Signed-off-by: Jens Axboe --- Reading git-diff-tree failed