summaryrefslogtreecommitdiff
path: root/libbcachefs/movinggc.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-04-21 04:02:48 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-04-21 04:02:48 -0400
commitfbe4e11c2615b65a0f91941b1e85d6d5ca8ebaf4 (patch)
treeedc98cf90fa0a1e36da10b50129f9ce6af050957 /libbcachefs/movinggc.c
parent0f37f9f05fa4b3b45b419cf83e6b8a2c5b814ebb (diff)
Update bcachefs sources to 2115a2ffde bcachefs: Kill bch2_verify_bucket_evacuated()
Diffstat (limited to 'libbcachefs/movinggc.c')
-rw-r--r--libbcachefs/movinggc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libbcachefs/movinggc.c b/libbcachefs/movinggc.c
index d13a120d..c0fc669c 100644
--- a/libbcachefs/movinggc.c
+++ b/libbcachefs/movinggc.c
@@ -134,13 +134,6 @@ static void move_buckets_wait(struct btree_trans *trans,
if (atomic_read(&i->count))
break;
- /*
- * moving_ctxt_exit calls bch2_write as it flushes pending
- * reads, which inits another btree_trans; this one must be
- * unlocked:
- */
- bch2_verify_bucket_evacuated(trans, i->bucket.k.bucket, i->bucket.k.gen);
-
list->first = i->next;
if (!list->first)
list->last = NULL;