Jens Axboe
88da02868f
block: fix blk_rq_append_bio
...
commit 0abc2a1038 upstream.
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: caa4b02476 ("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 >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-01-02 20:31:05 +01:00
..
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:45 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:37 +01:00
2017-11-30 08:40:47 +00:00
2017-12-14 09:53:13 +01:00
2017-11-03 09:02:30 -07:00
2017-12-25 14:26:26 +01:00
2017-11-02 11:10:55 +01:00
2017-12-20 10:10:35 +01:00
2017-12-25 14:26:27 +01:00
2017-12-20 10:10:26 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:49 +01:00
2017-12-29 17:53:48 +01:00
2017-12-10 13:40:41 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:30 +01:00
2017-12-25 14:26:25 +01:00
2017-12-20 10:10:34 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-20 10:10:24 +01:00
2017-12-10 13:40:44 +01:00
2017-12-10 13:40:41 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:52 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-28 17:15:16 +02:00
2018-01-02 20:31:04 +01:00
2017-12-29 17:53:49 +01:00
2017-12-20 10:10:22 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:20 +01:00
2017-12-10 13:40:40 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-05 11:26:33 +01:00
2017-12-17 15:08:00 +01:00
2017-11-04 15:01:50 +01:00
2017-12-25 14:26:26 +01:00
2018-01-02 20:31:04 +01:00
2017-12-25 14:26:20 +01:00
2017-12-20 10:10:26 +01:00
2017-12-14 09:53:05 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:27 +01:00
2017-12-20 10:10:38 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:12 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:26 +01:00
2017-12-20 10:10:29 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:46 +01:00
2017-12-25 14:26:20 +01:00
2017-12-20 10:10:19 +01:00
2017-12-20 10:10:30 +01:00
2017-08-29 13:46:35 +02:00
2017-12-29 17:53:49 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:49 +01:00
2017-12-20 10:10:31 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:47 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:47 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:48 +01:00
2017-12-25 14:26:31 +01:00
2017-11-02 11:10:55 +01:00
2017-11-03 09:02:30 -07:00
2017-09-08 18:26:51 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:08 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-20 10:10:29 +01:00
2017-12-25 14:26:30 +01:00
2017-12-17 15:07:57 +01:00
2017-11-02 11:10:55 +01:00
2018-01-02 20:31:05 +01:00
2017-11-02 11:10:55 +01:00
2017-12-20 10:10:34 +01:00
2017-12-29 17:53:47 +01:00
2017-08-28 13:52:22 +02:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:30 +01:00
2018-01-02 20:31:05 +01:00
2017-12-25 14:26:24 +01:00
2017-12-25 14:26:31 +01:00
2017-12-20 10:10:24 +01:00
2017-12-20 10:10:33 +01:00
2017-11-02 11:10:55 +01:00
2017-12-20 10:10:38 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:29 +01:00
2017-12-17 15:07:56 +01:00
2017-12-25 14:26:24 +01:00
2017-08-29 08:52:51 -05:00
2017-12-14 09:52:48 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00