Wenbo Wang 7ee8e4f398 Fix bug in blk_rq_merge_ok
Use the right array index to reference the last
element of rq->biotail->bi_io_vec[]

Signed-off-by: Wenbo Wang <wenbo.wang@memblaze.com>
Reviewed-by: Chong Yuan <chong.yuan@memblaze.com>
Fixes: 66cb45aa41315 ("block: add support for limiting gaps in SG lists")
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-03-20 08:50:41 -06:00
..
2014-09-08 09:55:37 -06:00
2014-09-08 09:55:37 -06:00
2015-02-05 10:14:54 -07:00
2015-03-20 08:50:41 -06:00
2015-01-23 14:18:00 -07:00
2015-02-04 09:57:52 -07:00