summaryrefslogtreecommitdiff
path: root/libbcachefs/ec.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-01-18 23:38:05 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2021-01-25 19:05:19 -0500
commit9fce394ca6d0082ced3612a627cd16e06d84244a (patch)
tree409ffa637938cdfd0e0f2e12391cdd640a575278 /libbcachefs/ec.h
parent4a4a7e01d720eb41ba5572355b379368dde47f72 (diff)
Update bcachefs sources to 313b24b652 bcachefs: Fix an assertion
Diffstat (limited to 'libbcachefs/ec.h')
-rw-r--r--libbcachefs/ec.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libbcachefs/ec.h b/libbcachefs/ec.h
index f124582..765baa9 100644
--- a/libbcachefs/ec.h
+++ b/libbcachefs/ec.h
@@ -143,11 +143,9 @@ struct ec_stripe_new {
bool pending;
bool have_existing_stripe;
+ unsigned long blocks_gotten[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
unsigned long blocks_allocated[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
-
- struct open_buckets blocks;
- u8 data_block_idx[BCH_BKEY_PTRS_MAX];
- struct open_buckets parity;
+ open_bucket_idx_t blocks[BCH_BKEY_PTRS_MAX];
struct disk_reservation res;
struct keylist keys;