commit | d627065d88469933bc1527f97c539c464482f0bb | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jun 06 12:29:03 2019 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jun 20 10:29:22 2019 -0600 |
tree | 1181e2d38ccd8e9340645ce2205456e88be58a6f | |
parent | e9cd19c0c198aa1c893e142b015fde6da862ed52 [diff] |
block: untangle the end of blk_bio_segment_split Now that we don't need to assign the front/back segment sizes, we can duplicating the segs assignment for the split vs no-split case and remove a whole chunk of boilerplate code. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>