bcachefs: Convert gc_alloc_start() to for_each_btree_key2()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 28 Nov 2023 21:31:48 +0000 (16:31 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 29 Nov 2023 03:58:22 +0000 (22:58 -0500)
commit463086d99889c84ce0960fac2815c596f26cc0e5
treeda6741e161854f4ead991f665881096cf2a202bf
parent2111f39459b0b2ec54859b756c625edb0befce0e
bcachefs: Convert gc_alloc_start() to for_each_btree_key2()

This eliminates some SRCU warnings: for_each_btree_key2() runs every
loop iteration in a distinct transaction context.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_gc.c