summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig2019-06-06 12:29:03 +0200
committerJens Axboe2019-06-20 18:29:22 +0200
commitd627065d88469933bc1527f97c539c464482f0bb (patch)
tree1181e2d38ccd8e9340645ce2205456e88be58a6f /block/blk-core.c
parentblock: simplify blk_recalc_rq_segments (diff)
downloadkernel-qcow2-linux-d627065d88469933bc1527f97c539c464482f0bb.tar.gz
kernel-qcow2-linux-d627065d88469933bc1527f97c539c464482f0bb.tar.xz
kernel-qcow2-linux-d627065d88469933bc1527f97c539c464482f0bb.zip
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>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions