linux_dsm_epyc7002/drivers/scsi/osd
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: 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>
2017-12-18 13:55:43 -07:00
..
Kbuild Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
Kconfig Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
osd_debug.h Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
osd_initiator.c block: fix blk_rq_append_bio 2017-12-18 13:55:43 -07:00
osd_uld.c char/misc patches for 4.12-rc1 2017-05-04 19:15:35 -07:00