From: Wenbo Wang Date: Fri, 20 Mar 2015 05:04:54 +0000 (-0400) Subject: Fix bug in blk_rq_merge_ok X-Git-Tag: omap-for-v4.1/fixes-rc1~269^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ee8e4f3983c4ff700958a6099c8fd212ea67b94;p=pandora-kernel.git 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 Reviewed-by: Chong Yuan Fixes: 66cb45aa41315 ("block: add support for limiting gaps in SG lists") Cc: stable@kernel.org Signed-off-by: Jens Axboe --- Reading git-diff-tree failed