diff options
author | Christoph Hellwig <[email protected]> | 2020-06-27 09:31:46 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-06-29 09:09:07 -0600 |
commit | 4ef2c5c2462d59024adfa090af763a33dcff2f1a (patch) | |
tree | 60b6de95aa04500f7b866f6dea2fad3ed06a459d /scripts/gdb/linux/lists.py | |
parent | 826f2f48da8c331ac51e1381998d318012d66550 (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.
Acked-by: Tejun Heo <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions