summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/rebalance.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-30 15:13:09 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-04 22:19:11 -0400
commitf82755e4e8b83a4a98ebd6d819d716547fe11919 (patch)
tree4b91b447e899e17bf0098223e5ad813af6ae776c /fs/bcachefs/rebalance.c
parentc4accde498dd7db8352d574958d19a5f710aba69 (diff)
downloadlinux-f82755e4e8b83a4a98ebd6d819d716547fe11919.tar.gz
linux-f82755e4e8b83a4a98ebd6d819d716547fe11919.tar.bz2
linux-f82755e4e8b83a4a98ebd6d819d716547fe11919.zip
bcachefs: Data move path now uses bch2_trans_unlock_long()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/rebalance.c')
-rw-r--r--fs/bcachefs/rebalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/rebalance.c b/fs/bcachefs/rebalance.c
index 82014cc6e271..3319190b8d9c 100644
--- a/fs/bcachefs/rebalance.c
+++ b/fs/bcachefs/rebalance.c
@@ -348,7 +348,7 @@ static int do_rebalance(struct moving_context *ctxt)
!kthread_should_stop() &&
!atomic64_read(&r->work_stats.sectors_seen) &&
!atomic64_read(&r->scan_stats.sectors_seen)) {
- bch2_trans_unlock(trans);
+ bch2_trans_unlock_long(trans);
rebalance_wait(c);
}