block: merge: get the 1st and last bvec via helpers
authorMing Lei <ming.lei@canonical.com>
Fri, 26 Feb 2016 15:40:53 +0000 (23:40 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 3 Mar 2016 21:42:49 +0000 (14:42 -0700)
commite827091cb1bcd8e718ac3657845fb809c0b93324
tree146811f42b518408c3ead1c78c51a3198d811f61
parent25e71a99f10e444cd00bb2ebccb11e1c9fb672b1
block: merge: get the 1st and last bvec via helpers

This patch applies the two introduced helpers to
figure out the 1st and last bvec.

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>
block/blk-merge.c