diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-25 10:04:35 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-30 18:26:44 +0300 |
commit | dcdca753c152efe8d86ec7a15423307807a516a7 (patch) | |
tree | 9a6ec4cac5f573083640537344a334b870ccd181 /block/badblocks.c | |
parent | 6601e44efd20efddc183c85131216200e90c5728 (diff) | |
download | linux-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