diff options
author | 2021-12-03 17:18:18 -0500 | |
---|---|---|
committer | 2022-01-07 14:18:25 +0100 | |
commit | 0adbc6190c34b2e39f67b086cefc260e30045f48 (patch) | |
tree | 45986e82d1ad8ccc37254331b03ac15398ef91cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: convert BUG() for pending_del_nr into an ASSERT (diff) | |
download | wireguard-linux-0adbc6190c34b2e39f67b086cefc260e30045f48.tar.xz wireguard-linux-0adbc6190c34b2e39f67b086cefc260e30045f48.zip |
btrfs: combine extra if statements in btrfs_truncate_inode_items
We have
if (del_item)
// do something
else
// something else
if (del_item)
// do yet another thing
else
// something else entirely
back to back in btrfs_truncate_inode_items, collapse these two sets of
if statements into one.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.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