summaryrefslogtreecommitdiff
path: root/libbcachefs/super-io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-07-10 15:57:09 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-07-10 15:57:09 -0400
commitee1d223ab2b186051716450050d6b508cd25bbfb (patch)
tree00a8c2b6d2029a03d253fdf504dda65210a2454b /libbcachefs/super-io.c
parent21ae8a4b715acd326e6404ce6409ae329566eb64 (diff)
Update bcachefs sources to 04f2d2ae5b bcachefs: Fix build error on weird gcc
Diffstat (limited to 'libbcachefs/super-io.c')
-rw-r--r--libbcachefs/super-io.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbcachefs/super-io.c b/libbcachefs/super-io.c
index 1b5bc4eb..35325381 100644
--- a/libbcachefs/super-io.c
+++ b/libbcachefs/super-io.c
@@ -1480,9 +1480,7 @@ static const struct bch_sb_field_ops *bch2_sb_field_ops[] = {
#undef x
};
-static const struct bch_sb_field_ops bch2_sb_field_null_ops = {
- NULL
-};
+static const struct bch_sb_field_ops bch2_sb_field_null_ops;
static const struct bch_sb_field_ops *bch2_sb_field_type_ops(unsigned type)
{