aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2020-09-05 01:34:27 +0800
committerDavid Sterba <dsterba@suse.com>2020-10-07 12:12:21 +0200
commit53f8a74cbeffd45a95de5dc6d16584aadb682a31 (patch)
tree527a8f65ac82d8db75c2c52e7cf0b3c5c711871d /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: simplify parameters of btrfs_sysfs_add_devices_dir (diff)
downloadwireguard-linux-53f8a74cbeffd45a95de5dc6d16584aadb682a31.tar.xz
wireguard-linux-53f8a74cbeffd45a95de5dc6d16584aadb682a31.zip
btrfs: split and refactor btrfs_sysfs_remove_devices_dir
Similar to btrfs_sysfs_add_devices_dir()'s refactoring, split btrfs_sysfs_remove_devices_dir() so that we don't have to use the device argument to indicate whether to free all devices or just one device. Export btrfs_sysfs_remove_device() as device operations outside of sysfs.c now calls this instead of btrfs_sysfs_remove_devices_dir(). btrfs_sysfs_remove_devices_dir() is renamed to btrfs_sysfs_remove_fs_devices() to suite its new role. Now, no one outside of sysfs.c calls btrfs_sysfs_remove_fs_devices() so it is redeclared s static. And the same function had to be moved before its first caller. Reviewed-by: Nikolay Borisov <nborisov@suse.com> 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-postgresql.py')
0 files changed, 0 insertions, 0 deletions