diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-04-09 17:27:35 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-05-15 15:30:50 +0300 |
| commit | f389e7b982a14421dc6ec935552c39ea23da2f43 (patch) | |
| tree | fe30634cf9b3b5958f01df5b336ccf4f1c20715d /scripts/const_structs.checkpatch | |
| parent | 007fa63225683f540456a631045de681473d31d5 (diff) | |
| download | linux-f389e7b982a14421dc6ec935552c39ea23da2f43.tar.xz | |
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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
