Sysfs cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | btrfs: move sysfs declarations out of ctree.hfs/ fs/ fs/ | +13 | 0 replies | |
| 2/13 | btrfs: move btrfs_add_raid_kobjects to sysfs.cfs/ fs/ fs/ +1 more | +28 | 0 replies | |
| 3/13 | btrfs: factor sysfs code out of link_block_groupfs/ fs/ fs/ | +30 | 0 replies | |
| 4/13 | btrfs: sysfs: unexport btrfs_raid_ktypefs/ fs/ | +1 | 0 replies | |
| 5/13 | btrfs: factor out sysfs code for creating space infosfs/ fs/ fs/ | +41 | 0 replies | |
| 6/13 | btrfs: sysfs: unexport space_info_ktypefs/ fs/ | +1 | 0 replies | |
| 7/13 | btrfs: sysfs: replace direct access to feature set names with a helperfs/ fs/ fs/ | +8 | 0 replies | |
| 8/13 | btrfs: factor out sysfs code for sending device ueventfs/ fs/ fs/ | +12 | 0 replies | |
| 9/13 | btrfs: factor out sysfs code for deleting block group and space infosfs/ fs/ fs/ | +24 | 0 replies | |
| 10/13 | btrfs: factor out sysfs code for updating sprout fsidfs/ fs/ fs/ | +19 | 0 replies | |
| 11/13 | btrfs: cleanup kobject.h includesfs/ fs/ fs/ | +2 | 0 replies | |
| 12/13 | btrfs: sysfs: move helper macros to sysfs.cfs/ fs/ | +49 | 0 replies | |
| 13/13 | btrfs: sysfs: move type conversion helpers to sysfs.cfs/ fs/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] Sysfs cleanups
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(-)
Signature · 1 line
2.22.0