summaryrefslogtreecommitdiffstats
path: root/block/partitions
diff options
context:
space:
mode:
authorChristoph Hellwig2019-04-25 09:04:35 +0200
committerJens Axboe2019-04-30 17:26:44 +0200
commitdcdca753c152efe8d86ec7a15423307807a516a7 (patch)
tree9a6ec4cac5f573083640537344a334b870ccd181 /block/partitions
parentblock: remove bogus comments in __bio_add_pc_page (diff)
downloadkernel-qcow2-linux-dcdca753c152efe8d86ec7a15423307807a516a7.tar.gz
kernel-qcow2-linux-dcdca753c152efe8d86ec7a15423307807a516a7.tar.xz
kernel-qcow2-linux-dcdca753c152efe8d86ec7a15423307807a516a7.zip
block: clean up __bio_add_pc_page a bit
Share the bi_size update by moving the done label up, and duplicate the bv_len update in the two callers to get rid of the bvec_merge label. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions