diff options
author | 2025-04-09 15:27:35 +0100 | |
---|---|---|
committer | 2025-05-15 14:30:50 +0200 | |
commit | f389e7b982a14421dc6ec935552c39ea23da2f43 (patch) | |
tree | fe30634cf9b3b5958f01df5b336ccf4f1c20715d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: get rid of btrfs_read_dev_super() (diff) | |
download | linux-rng-f389e7b982a14421dc6ec935552c39ea23da2f43.tar.xz linux-rng-f389e7b982a14421dc6ec935552c39ea23da2f43.zip |
btrfs: remove duplicate error check at btrfs_clear_extent_bit_changeset()
There's no need to check if split_state() returned an error twice, instead
unify into a single if statement after setting 'prealloc' to NULL, because
on error split_state() frees the 'prealloc' extent state record.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions