diff options
author | Christoph Hellwig <hch@lst.de> | 2022-02-02 17:01:08 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-04 15:43:18 +0100 |
commit | a0e8de798dd6710a69d69ec57b246a0e34c4a695 (patch) | |
tree | da8bba878198dc6c1a69f8bfab43c9eecd41fad4 /drivers/block/drbd/drbd_worker.c | |
parent | dm: use bio_clone_fast in alloc_io/alloc_tio (diff) | |
download | linux-a0e8de798dd6710a69d69ec57b246a0e34c4a695.tar.xz linux-a0e8de798dd6710a69d69ec57b246a0e34c4a695.zip |
block: initialize the target bio in __bio_clone_fast
All callers of __bio_clone_fast initialize the bio first. Move that
initialization into __bio_clone_fast instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220202160109.108149-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/drbd/drbd_worker.c')
0 files changed, 0 insertions, 0 deletions