commit | 7ee8e4f3983c4ff700958a6099c8fd212ea67b94 | [log] [tgz] |
---|---|---|
author | Wenbo Wang <wenbo.wang@memblaze.com> | Fri Mar 20 01:04:54 2015 -0400 |
committer | Jens Axboe <axboe@fb.com> | Fri Mar 20 08:50:41 2015 -0600 |
tree | 26208113a37530a9918c72f20490c34f076b5983 | |
parent | bc188d818edf325ae38cfa43254a0b10a4defd65 [diff] |
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>