diff options
Diffstat (limited to 'libbcachefs/ec.h')
-rw-r--r-- | libbcachefs/ec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/ec.h b/libbcachefs/ec.h index 3e2b22c0..aba1e82b 100644 --- a/libbcachefs/ec.h +++ b/libbcachefs/ec.h @@ -10,13 +10,13 @@ int bch2_stripe_invalid(const struct bch_fs *, struct bkey_s_c, void bch2_stripe_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c); -#define bch2_bkey_ops_stripe (struct bkey_ops) { \ +#define bch2_bkey_ops_stripe ((struct bkey_ops) { \ .key_invalid = bch2_stripe_invalid, \ .val_to_text = bch2_stripe_to_text, \ .swab = bch2_ptr_swab, \ .trans_trigger = bch2_trans_mark_stripe, \ .atomic_trigger = bch2_mark_stripe, \ -} +}) static inline unsigned stripe_csums_per_device(const struct bch_stripe *s) { |