summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/rebalance.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-20 13:32:42 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-31 12:18:37 -0400
commita0bfe3b065cabc669933063cb5a9066b104be406 (patch)
treeb9562b6bd8680376cbd3beec788d52451d5eaad8 /fs/bcachefs/rebalance.c
parent6ddedca2180b095aacca0f628e0d03a32477f68f (diff)
downloadlinux-stable-a0bfe3b065cabc669933063cb5a9066b104be406.tar.gz
linux-stable-a0bfe3b065cabc669933063cb5a9066b104be406.tar.bz2
linux-stable-a0bfe3b065cabc669933063cb5a9066b104be406.zip
bcachefs: move.c exports, refactoring
Prep work for the new rebalance code - we need a few helpers exported. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/rebalance.c')
-rw-r--r--fs/bcachefs/rebalance.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/rebalance.c b/fs/bcachefs/rebalance.c
index 568f1e8e7507..92403fa79f1f 100644
--- a/fs/bcachefs/rebalance.c
+++ b/fs/bcachefs/rebalance.c
@@ -254,8 +254,7 @@ static int bch2_rebalance_thread(void *arg)
rebalance_work_reset(c);
bch2_move_data(c,
- 0, POS_MIN,
- BTREE_ID_NR, POS_MAX,
+ BBPOS_MIN, BBPOS_MAX,
/* ratelimiting disabled for now */
NULL, /* &r->pd.rate, */
&move_stats,