aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2020-07-15 13:48:49 +0300
committerDavid Sterba <[email protected]>2020-10-07 12:06:58 +0200
commitc4989c2fd0eba6e164e9a29c4a865e57dd644451 (patch)
tree9c2fd2baeeaa4fbc7e69bd22d05e18f90ab19efd /tools/perf/scripts/python/bin
parent54eed6ae8d8e9df81202da64f0817d8e40d5db0e (diff)
btrfs: simplify setting/clearing fs_info to btrfs_fs_devices
It makes no sense to have sysfs-related routines be responsible for properly initialising the fs_info pointer of struct btrfs_fs_device. Instead this can be streamlined by making it the responsibility of btrfs_init_devices_late to initialize it. That function already initializes fs_info of every individual device in btrfs_fs_devices. As far as clearing it is concerned it makes sense to move it to close_fs_devices. That function is only called when struct btrfs_fs_devices is no longer in use - either for holding seeds or main devices for a mounted filesystem. Reviewed-by: Josef Bacik <[email protected]> Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions