diff options
author | Christoph Hellwig <[email protected]> | 2024-03-28 09:41:44 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-04-01 11:53:37 -0600 |
commit | c9418adfbabadf7530c034a52e54b31705568f95 (patch) | |
tree | 3b6349431281f52352ea306e6c175b83e020fd5a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d3a3a086ad57b8c05340c0a4ac97b26ea55a1119 (diff) |
block: add a bio_list_merge_init helper
This is a simple combination of bio_list_merge + bio_list_init
similar to list_splice_init. While it only saves a single
line in a callers, it makes the move all bios from one list to
another and reinitialize the original pattern a lot more obvious
in the callers.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Matthew Sakai <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions