diff options
author | 2018-01-10 13:15:18 +0800 | |
---|---|---|
committer | 2018-01-22 16:08:21 +0100 | |
commit | 1c94da9dd913e69c67fbc77603d56ffa61e454c2 (patch) | |
tree | b6178d8c1b4048dfb7d63e5eebcb253cc17d5eb8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: tree-check: reduce stack consumption in check_dir_item (diff) | |
download | linux-dev-1c94da9dd913e69c67fbc77603d56ffa61e454c2.tar.xz linux-dev-1c94da9dd913e69c67fbc77603d56ffa61e454c2.zip |
btrfs: cleanup btrfs_free_stale_device() usage
We call btrfs_free_stale_device() only when we alloc a new struct
btrfs_device (ret=1), so move it closer to where we alloc the new
device. Also drop the comments.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.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