]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/movinggc.c
Update bcachefs sources to 2115a2ffde bcachefs: Kill bch2_verify_bucket_evacuated()
[bcachefs-tools-debian] / libbcachefs / movinggc.c
index d13a120da267a04d4075c197818335cbe5c403a7..c0fc669cdb0fc1ed471d93867fdb195598c54886 100644 (file)
@@ -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;