Anand Jain
53f8a74cbe
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 >
2020-10-07 12:12:21 +02:00
..
2020-07-27 12:55:35 +02:00
2019-04-29 19:02:44 +02:00
2020-03-23 17:01:51 +01:00
2020-03-23 17:01:51 +01:00
2020-10-07 12:06:55 +02:00
2020-05-25 11:25:35 +02:00
2020-10-07 12:06:56 +02:00
2020-07-27 12:55:42 +02:00
2020-05-25 11:25:35 +02:00
2020-03-23 17:01:55 +01:00
2020-10-07 12:12:18 +02:00
2020-07-27 12:55:21 +02:00
2020-03-23 17:01:39 +01:00
2020-10-07 12:06:55 +02:00
2020-10-07 12:06:55 +02:00
2020-10-07 12:12:17 +02:00
2020-10-07 12:12:20 +02:00
2020-10-07 12:06:52 +02:00
2020-07-27 12:55:36 +02:00
2020-10-07 12:12:13 +02:00
2020-03-23 17:01:53 +01:00
2020-03-23 17:01:55 +01:00
2019-07-04 17:26:17 +02:00
2020-10-07 12:12:21 +02:00
2019-11-18 12:46:52 +01:00
2019-04-29 19:02:50 +02:00
2020-07-07 16:06:28 +02:00
2020-04-20 17:43:42 +02:00
2020-10-07 12:12:20 +02:00
2020-07-27 12:55:38 +02:00
2020-05-25 11:25:37 +02:00
2020-03-23 17:01:42 +01:00
2020-10-07 12:12:19 +02:00
2020-10-07 12:12:19 +02:00
2020-02-12 17:16:46 +01:00
2019-11-18 23:43:44 +01:00
2020-10-07 12:06:56 +02:00
2020-10-07 12:12:16 +02:00
2020-10-07 12:12:19 +02:00
2020-10-07 12:12:19 +02:00
2020-10-07 12:06:50 +02:00
2020-07-27 12:55:21 +02:00
2020-08-27 13:37:54 +02:00
2019-11-18 17:51:51 +01:00
2019-09-09 14:59:16 +02:00
2020-07-27 12:55:36 +02:00
2018-04-12 16:29:46 +02:00
2020-10-07 12:12:20 +02:00
2020-10-07 12:12:20 +02:00
2020-10-07 12:06:57 +02:00
2020-10-07 12:12:16 +02:00
2020-10-07 12:12:17 +02:00
2019-11-18 12:46:59 +01:00
2020-03-23 17:01:54 +01:00
2020-05-25 11:25:19 +02:00
2020-10-07 12:12:19 +02:00
2020-10-07 12:12:19 +02:00
2018-04-12 16:29:51 +02:00
2020-10-07 12:12:20 +02:00
2020-10-07 12:12:20 +02:00
2020-05-25 11:25:37 +02:00
2019-04-29 19:02:54 +02:00
2020-10-07 12:06:50 +02:00
2020-07-27 12:55:37 +02:00
2020-07-27 12:55:44 +02:00
2019-07-01 13:34:58 +02:00
2020-03-23 17:01:53 +01:00
2020-10-07 12:06:58 +02:00
2020-07-27 12:55:43 +02:00
2019-04-29 19:02:49 +02:00
2020-10-07 12:12:19 +02:00
2020-03-23 17:01:54 +01:00
2020-10-07 12:12:16 +02:00
2020-10-07 12:12:13 +02:00
2020-10-07 12:06:55 +02:00
2020-10-07 12:06:55 +02:00
2018-04-12 16:29:46 +02:00
2020-10-07 12:06:54 +02:00
2020-10-07 12:06:52 +02:00
2020-05-25 11:25:35 +02:00
2020-10-07 12:06:54 +02:00
2020-10-07 12:12:21 +02:00
2020-10-07 12:12:21 +02:00
2020-10-07 12:12:16 +02:00
2020-10-07 12:06:57 +02:00
2020-08-27 14:16:05 +02:00
2019-04-29 19:02:39 +02:00
2020-07-27 12:55:28 +02:00
2020-10-07 12:06:56 +02:00
2020-10-07 12:06:56 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2020-05-25 11:25:36 +02:00
2020-10-07 12:12:21 +02:00
2020-10-07 12:06:58 +02:00
2019-06-17 16:37:17 +02:00
2019-04-29 19:02:44 +02:00
2020-01-31 10:30:40 -08:00
2019-11-18 12:46:59 +01:00