aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2017-07-11 13:47:50 +0300
committerDavid Sterba <dsterba@suse.com>2017-08-16 16:12:02 +0200
commit1174cade8182b4136c8a162342bf7e8eba7200de (patch)
treebe3437981ce24581b19c87355a410926f9882785 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: Remove redundant argument of flush_space (diff)
downloadwireguard-linux-1174cade8182b4136c8a162342bf7e8eba7200de.tar.xz
wireguard-linux-1174cade8182b4136c8a162342bf7e8eba7200de.zip
btrfs: Remove redundant checks from btrfs_alloc_data_chunk_ondemand
Many commits ago the data space_info in alloc_data_chunk_ondemand used to be acquired from the inode. At that point commit 33b4d47f5e24 ("Btrfs: deal with NULL space info") got introduced to deal with spurios cases where the space info could be null, following a rebalance. Nowadays, however, the space info is referenced directly from the btrfs_fs_info struct which is initialised at filesystem mount time. This makes the null checks redundant, so remove them. Signed-off-by: Nikolay Borisov <nborisov@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