summaryrefslogtreecommitdiff
path: root/libbcachefs/alloc_background.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-04-07 17:52:51 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-04-07 17:52:51 -0400
commite05755a9fc28c2e757a531c8865773fa63dfea9c (patch)
tree28d7951ca32a6900b16f93fe90508a333043f0be /libbcachefs/alloc_background.h
parent941075cb57b469525df76d15e61abdb42d9c7a1b (diff)
Update bcachefs sources to 98a1bff393 bcachefs: Topology repair fixes
Diffstat (limited to 'libbcachefs/alloc_background.h')
-rw-r--r--libbcachefs/alloc_background.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbcachefs/alloc_background.h b/libbcachefs/alloc_background.h
index 9c6a590f..11e0bca3 100644
--- a/libbcachefs/alloc_background.h
+++ b/libbcachefs/alloc_background.h
@@ -44,7 +44,6 @@ static inline enum bucket_state bucket_state(struct bch_alloc_v4 a)
return BUCKET_dirty;
if (a.cached_sectors)
return BUCKET_cached;
- BUG_ON(a.data_type);
if (BCH_ALLOC_V4_NEED_DISCARD(&a))
return BUCKET_need_discard;
if (alloc_gc_gen(a) >= BUCKET_GC_GEN_MAX)