Bart Van Assche ff9811b3cf block: Simplify bvec_split_segs()
Simplify this function by by removing two if-tests. Other than requiring
that the @sectors pointer is not NULL, this patch does not change the
behavior of bvec_split_segs().

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-08-04 21:41:29 -06:00
..
2019-07-26 10:32:12 -07:00
2019-07-15 09:20:27 -03:00
2019-08-04 21:41:29 -06:00
2019-07-09 10:45:06 -07:00
2019-07-02 21:03:27 -06:00
2019-05-07 18:14:36 -07:00
2019-07-18 10:20:14 -06:00
2019-06-20 10:29:22 -06:00
2019-07-15 09:20:27 -03:00
2019-07-15 09:20:27 -03:00
2018-11-07 13:42:32 -07:00
2019-07-15 09:20:27 -03:00