diff options
author | 2022-06-03 09:11:02 +0200 | |
---|---|---|
committer | 2022-07-25 17:45:34 +0200 | |
commit | 9845e5ddcbfe160f4a668c51f38515729a3fb794 (patch) | |
tree | 828fa4df7f3a4b533792bd2158d40f759e7c8f5b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | btrfs: don't use bio->bi_private to pass the inode to submit_one_bio (diff) | |
download | linux-dev-9845e5ddcbfe160f4a668c51f38515729a3fb794.tar.xz linux-dev-9845e5ddcbfe160f4a668c51f38515729a3fb794.zip |
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 <wqu@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions