]> git.baikalelectronics.ru Git - kernel.git/commit
block: get the 1st and last bvec via helpers
authorMing Lei <ming.lei@canonical.com>
Fri, 26 Feb 2016 15:40:52 +0000 (23:40 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 3 Mar 2016 21:42:49 +0000 (14:42 -0700)
commit8366445b65b11fcba79c5ed0a3134dba4664f56a
tree70219779b021ec7cd2d32bc1091208a126fe0bec
parent000f64693ed83d7f2a960fcd564e8d57e9dc9fab
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>
include/linux/blkdev.h