aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-06-27 09:31:46 +0200
committerMike Snitzer <[email protected]>2020-07-08 11:02:05 -0400
commit382761dc6312965a11f82f2217e16ec421bf17ae (patch)
treecf35f24dbd82601c538b7544089772e6da231f84 /scripts
parent85067747cf9888249fa11fa49ef75af5192d3988 (diff)
dm: use bio_uninit instead of bio_disassociate_blkg
bio_uninit is the proper API to clean up a BIO that has been allocated on stack or inside a structure that doesn't come from the BIO allocator. Switch dm to use that instead of bio_disassociate_blkg, which really is an implementation detail. Note that the bio_uninit calls are also moved to the two callers of __send_empty_flush, so that they better pair with the bio_init calls used to initialize them. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions