aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-06-03 09:11:02 +0200
committerDavid Sterba <[email protected]>2022-07-25 17:45:34 +0200
commit9845e5ddcbfe160f4a668c51f38515729a3fb794 (patch)
tree828fa4df7f3a4b533792bd2158d40f759e7c8f5b /tools/perf/scripts/python
parent2d5ac130fa498d66d91c3aa46c0f87e63664d9e9 (diff)
btrfs: merge end_write_bio and flush_write_bio
Merge end_write_bio and flush_write_bio into a single submit_write_bio helper, that either submits the bio or ends it if a negative errno was passed in. This consolidates a lot of duplicated checks in the callers. Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions