]> www.infradead.org Git - linux.git/commitdiff
bcachefs: Move rebalance_status out of sysfs/internal
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 1 Aug 2024 03:39:49 +0000 (23:39 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 9 Sep 2024 13:41:48 +0000 (09:41 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/sysfs.c

index 89da5323cf59ecfb7b90b32100d1a8b2836a3a04..800a3970a242e422c5e62a29a0c36ad360eabd29 100644 (file)
@@ -515,6 +515,7 @@ struct attribute *bch2_fs_files[] = {
        &sysfs_btree_write_stats,
 
        &sysfs_promote_whole_extents,
+       &sysfs_rebalance_status,
 
        &sysfs_compression_stats,
 
@@ -614,7 +615,6 @@ struct attribute *bch2_fs_internal_files[] = {
        &sysfs_copy_gc_wait,
 
        &sysfs_rebalance_enabled,
-       &sysfs_rebalance_status,
        sysfs_pd_controller_files(rebalance),
 
        &sysfs_moving_ctxts,