summaryrefslogtreecommitdiff
path: root/libbcachefs/rebalance.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-15 21:57:44 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-15 22:20:39 -0500
commitb6740e5392a0e0a5fddc5ad4ffac0567078e114a (patch)
tree1f099c077f3f348711fd0d579ba7ffd6db2d33b2 /libbcachefs/rebalance.c
parent4c5dcb018d9675260c056b6afa8508298d0dba75 (diff)
Update bcachefs sources to 841a95c29f4c bcachefs: fix userspace build errors
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/rebalance.c')
-rw-r--r--libbcachefs/rebalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/rebalance.c b/libbcachefs/rebalance.c
index 79bd4ad0..ee452aa5 100644
--- a/libbcachefs/rebalance.c
+++ b/libbcachefs/rebalance.c
@@ -334,7 +334,7 @@ static int do_rebalance(struct moving_context *ctxt)
while (!bch2_move_ratelimit(ctxt)) {
if (!r->enabled) {
bch2_moving_ctxt_flush_all(ctxt);
- kthread_wait_freezable(c->copy_gc_enabled ||
+ kthread_wait_freezable(r->enabled ||
kthread_should_stop());
}