diff options
author | Wenbo Wang <wenbo.wang@memblaze.com> | 2015-03-20 06:04:54 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-03-20 15:50:41 +0100 |
commit | 7ee8e4f3983c4ff700958a6099c8fd212ea67b94 (patch) | |
tree | 26208113a37530a9918c72f20490c34f076b5983 /drivers | |
parent | blkmq: Fix NULL pointer deref when all reserved tags in (diff) | |
download | linux-7ee8e4f3983c4ff700958a6099c8fd212ea67b94.tar.xz linux-7ee8e4f3983c4ff700958a6099c8fd212ea67b94.zip |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions