blk: Fix bio_io_vec index when checking bvec gaps
authorKeith Busch <keith.busch@intel.com>
Tue, 1 Sep 2015 16:46:44 +0000 (10:46 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 1 Sep 2015 17:04:58 +0000 (11:04 -0600)
commit2ca495ac27d245513c11fed70591b1838250e240
tree598b81a12507097dc1429dc92f1e3d59f5a6e119
parent03100aada96f0645bbcb89aea24c01f02d0ef1fa
blk: Fix bio_io_vec index when checking bvec gaps

Corrects a coding error from earlier patch.

Reported by: Sagi Grimberg <sagig@dev.mellanox.co.il>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Fixes: 03100aada96f ("block: Replace SG_GAPS with new queue limits mask")
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-merge.c