commit | 25e71a99f10e444cd00bb2ebccb11e1c9fb672b1 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Fri Feb 26 23:40:52 2016 +0800 |
committer | Jens Axboe <axboe@fb.com> | Thu Mar 03 14:42:49 2016 -0700 |
tree | 70219779b021ec7cd2d32bc1091208a126fe0bec | |
parent | e0af29171aa8912e1ca95023b75ef336cd70d661 [diff] |
block: get the 1st and last bvec via helpers This patch applies the two introduced helpers to figure out the 1st and last bvec, and fixes the original way after bio splitting. Cc: stable@vger.kernel.org Reported-by: Sagi Grimberg <sagig@dev.mellanox.co.il> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Jens Axboe <axboe@fb.com>