diff options
author | 2023-07-24 07:22:40 -0700 | |
---|---|---|
committer | 2023-08-21 14:54:47 +0200 | |
commit | 38dc88890de6cae3db5a33ece287e56fc9cc4ce6 (patch) | |
tree | b8a12a4d1bc3cedca8ed417a84ebb5b57aab5b8c /tools/perf/scripts/python | |
parent | btrfs: cleanup the COW fallback logic in run_delalloc_nocow (diff) | |
download | wireguard-linux-38dc88890de6cae3db5a33ece287e56fc9cc4ce6.tar.xz wireguard-linux-38dc88890de6cae3db5a33ece287e56fc9cc4ce6.zip |
btrfs: consolidate the error handling in run_delalloc_nocow
Share the calls to extent_clear_unlock_delalloc for btrfs_path allocation
failure handling and the normal exit path.
This relies on btrfs_free_path ignoring a NULL pointer, and the
initialization of cur_offset to start at the beginning of the function.
Reviewed-by: Boris Burkov <boris@bur.io>
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')
0 files changed, 0 insertions, 0 deletions