Handful of almost trivial changes that clean up the sysfs structures and helpers so the sysfs-related api is used only inside sysfs.c and that the API facing btrfs is minimized.
David Sterba (13): btrfs: move sysfs declarations out of ctree.h btrfs: move btrfs_add_raid_kobjects to sysfs.c btrfs: factor sysfs code out of link_block_group btrfs: sysfs: unexport btrfs_raid_ktype btrfs: factor out sysfs code for creating space infos btrfs: sysfs: unexport space_info_ktype btrfs: sysfs: replace direct access to feature set names with a helper btrfs: factor out sysfs code for sending device uevent btrfs: factor out sysfs code for deleting block group and space infos btrfs: factor out sysfs code for updating sprout fsid btrfs: cleanup kobject.h includes btrfs: sysfs: move helper macros to sysfs.c btrfs: sysfs: move type conversion helpers to sysfs.c fs/btrfs/ctree.h | 15 --- fs/btrfs/extent-tree.c | 59 +---------- fs/btrfs/ioctl.c | 2 +- fs/btrfs/space-info.c | 25 +---- fs/btrfs/super.c | 1 + fs/btrfs/sysfs.c | 217 ++++++++++++++++++++++++++++++++++++++++- fs/btrfs/sysfs.h | 80 +++------------ fs/btrfs/volumes.c | 25 +---- 8 files changed, 238 insertions(+), 186 deletions(-) -- 2.22.0