diff options
author | 2025-04-10 16:40:29 +0100 | |
---|---|---|
committer | 2025-05-15 14:30:51 +0200 | |
commit | 5f9c554a6c1219dee1a3484db2e19881d35a0788 (patch) | |
tree | 2219759e4cc5f44d54bfbf2a3a038bbee53a3a25 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: simplify last record detection at btrfs_clear_extent_bit_changeset() (diff) | |
download | linux-rng-5f9c554a6c1219dee1a3484db2e19881d35a0788.tar.xz linux-rng-5f9c554a6c1219dee1a3484db2e19881d35a0788.zip |
btrfs: remove duplicate error check at btrfs_convert_extent_bit()
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