diff options
| author | Anand Jain <anand.jain@oracle.com> | 2018-05-29 12:28:37 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:46 +0200 |
| commit | 4306a97449f9a0f9e5229af7889d4401315355aa (patch) | |
| tree | e235494ba6769ec625db65560f73b877688e9bc5 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 959b1c04675735aa51b9a7b3e28963c4141bf3e7 (diff) | |
btrfs: do btrfs_free_stale_devices outside of device_list_add
btrfs_free_stale_devices() looks for device path reused for another
filesystem, and deletes the older fs_devices::device entry.
In preparation to handle locking in device_list_add, move
btrfs_free_stale_devices outside as these two functions serve a
different purpose.
Signed-off-by: Anand Jain <anand.jain@oracle.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-sqlite.py')
0 files changed, 0 insertions, 0 deletions
