From 553d6f107a3e90d451fcac8a88c07746dcb340cf Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 17 Oct 2024 22:30:32 -0400 Subject: Update bcachefs sources to 1dbc147a6eb0 bcachefs: Add version check for bch_btree_ptr_v2.sectors_written validate Signed-off-by: Kent Overstreet --- libbcachefs/rebalance.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libbcachefs/rebalance.c') diff --git a/libbcachefs/rebalance.c b/libbcachefs/rebalance.c index 2d299a37..cd664737 100644 --- a/libbcachefs/rebalance.c +++ b/libbcachefs/rebalance.c @@ -70,7 +70,9 @@ err: int bch2_set_rebalance_needs_scan(struct bch_fs *c, u64 inum) { - int ret = bch2_trans_do(c, NULL, NULL, BCH_TRANS_COMMIT_no_enospc|BCH_TRANS_COMMIT_lazy_rw, + int ret = bch2_trans_commit_do(c, NULL, NULL, + BCH_TRANS_COMMIT_no_enospc| + BCH_TRANS_COMMIT_lazy_rw, __bch2_set_rebalance_needs_scan(trans, inum)); rebalance_wakeup(c); return ret; -- cgit v1.2.3