summaryrefslogtreecommitdiff
path: root/libbcachefs/ec.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-05-27 18:47:39 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-27 19:04:42 -0400
commit067e072465d58a7811b13f594207911caed98b67 (patch)
tree1975b31c5169fe44c9ff240ad6ba637c7e8c3061 /libbcachefs/ec.c
parent9bb2977a1ad31a61e080da0bd32000f5cdbc62a0 (diff)
Update bcachefs sources to ea473c4a1a21 bcachefs: btree_gc can now handle unknown btrees
Diffstat (limited to 'libbcachefs/ec.c')
-rw-r--r--libbcachefs/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/ec.c b/libbcachefs/ec.c
index b26dc742..d8b9beca 100644
--- a/libbcachefs/ec.c
+++ b/libbcachefs/ec.c
@@ -908,7 +908,7 @@ static int __ec_stripe_mem_alloc(struct bch_fs *c, size_t idx, gfp_t gfp)
if (!genradix_ptr_alloc(&c->stripes, idx, gfp))
return -BCH_ERR_ENOMEM_ec_stripe_mem_alloc;
- if (c->gc_pos.phase != GC_PHASE_NOT_RUNNING &&
+ if (c->gc_pos.phase != GC_PHASE_not_running &&
!genradix_ptr_alloc(&c->gc_stripes, idx, gfp))
return -BCH_ERR_ENOMEM_ec_stripe_mem_alloc;