summaryrefslogtreecommitdiff
path: root/libbcachefs/ec.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-11-16 09:12:15 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2021-11-16 09:12:15 -0500
commit9a058f14283a3591a8b173a667d0b43a8b34c0ae (patch)
treebb6449fec8400a73517b9e96c0de210269edb8ba /libbcachefs/ec.c
parent8d86f9c15da65965c53e5264433730b20c6f79f9 (diff)
Update bcachefs sources to 70b5fb5daf bcachefs: Fix error reporting from bch2_journal_flush_seq
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 bfa512d7..bca1b8a7 100644
--- a/libbcachefs/ec.c
+++ b/libbcachefs/ec.c
@@ -1154,7 +1154,7 @@ static void ec_stripe_key_init(struct bch_fs *c,
s->v.nr_blocks = nr_data + nr_parity;
s->v.nr_redundant = nr_parity;
s->v.csum_granularity_bits = ilog2(c->sb.encoded_extent_max);
- s->v.csum_type = BCH_CSUM_CRC32C;
+ s->v.csum_type = BCH_CSUM_crc32c;
s->v.pad = 0;
while ((u64s = stripe_val_u64s(&s->v)) > BKEY_VAL_U64s_MAX) {