summaryrefslogtreecommitdiff
path: root/block/badblocks.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-25 10:04:35 +0300
committerJens Axboe <axboe@kernel.dk>2019-04-30 18:26:44 +0300
commitdcdca753c152efe8d86ec7a15423307807a516a7 (patch)
tree9a6ec4cac5f573083640537344a334b870ccd181 /block/badblocks.c
parent6601e44efd20efddc183c85131216200e90c5728 (diff)
downloadlinux-dcdca753c152efe8d86ec7a15423307807a516a7.tar.xz
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/badblocks.c')
0 files changed, 0 insertions, 0 deletions