diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-24 12:09:21 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-10-11 17:23:40 -0400 |
commit | 2884d0be878eb5cbbc6d983c6054feef3b9aa86d (patch) | |
tree | 42e348c37835e12a4088fbf37b50b715aef4be0c /block/blk-map.c | |
parent | e81cef5d3001501350b4e596b4bd6dfd26187afa (diff) | |
download | linux-rpi-2884d0be878eb5cbbc6d983c6054feef3b9aa86d.tar.gz linux-rpi-2884d0be878eb5cbbc6d983c6054feef3b9aa86d.tar.bz2 linux-rpi-2884d0be878eb5cbbc6d983c6054feef3b9aa86d.zip |
move more stuff down into bio_copy_user_iov()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/blk-map.c')
-rw-r--r-- | block/blk-map.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/block/blk-map.c b/block/blk-map.c index 891eea11f68e..c872d62b62fb 100644 --- a/block/blk-map.c +++ b/block/blk-map.c @@ -66,12 +66,6 @@ static int __blk_rq_map_user_iov(struct request *rq, bio->bi_opf &= ~REQ_OP_MASK; bio->bi_opf |= req_op(rq); - if (map_data && map_data->null_mapped) - bio_set_flag(bio, BIO_NULL_MAPPED); - - if (map_data) - map_data->offset += bio->bi_iter.bi_size; - orig_bio = bio; /* |