]> Git Repo - linux.git/commit - block/bio.c
block: initialize the target bio in __bio_clone_fast
authorChristoph Hellwig <[email protected]>
Wed, 2 Feb 2022 16:01:08 +0000 (17:01 +0100)
committerJens Axboe <[email protected]>
Fri, 4 Feb 2022 14:43:18 +0000 (07:43 -0700)
commita0e8de798dd6710a69d69ec57b246a0e34c4a695
treeda8bba878198dc6c1a69f8bfab43c9eecd41fad4
parent92986f6b4c8a2c24d3a36b80140624f80fd93de4
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 <[email protected]>
Reviewed-by: Mike Snitzer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
block/bio.c
drivers/md/bcache/request.c
drivers/md/md-multipath.c
This page took 0.055967 seconds and 4 git commands to generate.