Jens Axboe 0abc2a1038 block: fix blk_rq_append_bio
Commit caa4b02476e3(blk-map: call blk_queue_bounce from blk_rq_append_bio)
moves blk_queue_bounce() into blk_rq_append_bio(), but don't consider
the fact that the bounced bio becomes invisible to caller since the
parameter type is 'struct bio *'. Make it a pointer to a pointer to
a bio, so the caller sees the right bio also after a bounce.

Fixes: caa4b02476e3 ("blk-map: call blk_queue_bounce from blk_rq_append_bio")
Cc: Christoph Hellwig <hch@lst.de>
Reported-by: Michele Ballabio <barra_cuda@katamail.com>
(handling failure of blk_rq_append_bio(), only call bio_get() after
blk_rq_append_bio() returns OK)
Tested-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-12-18 13:55:43 -07:00
..
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-15 13:46:33 -08:00
2017-12-18 13:55:43 -07:00
2017-09-07 12:12:43 -07:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-08-25 17:21:11 -04:00
2017-08-24 22:29:06 -04:00
2017-09-05 08:18:42 -04:00
2017-11-14 16:23:44 -08:00
2017-08-25 17:21:10 -04:00
2017-08-08 11:49:51 -04:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-04-13 13:58:20 -04:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-11-14 16:23:44 -08:00
2017-09-07 12:12:43 -07:00
2017-11-14 16:23:44 -08:00
2017-09-07 12:12:43 -07:00
2017-09-22 23:14:28 -04:00
2017-04-26 18:32:29 -04:00