Skip to content
Commit 7ee8e4f3 authored by Wenbo Wang's avatar Wenbo Wang Committed by Jens Axboe
Browse files

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: default avatarWenbo Wang <wenbo.wang@memblaze.com>
Reviewed-by: default avatarChong Yuan <chong.yuan@memblaze.com>
Fixes: 66cb45aa ("block: add support for limiting gaps in SG lists")
Cc: stable@kernel.org
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent bc188d81
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment