aboutsummaryrefslogtreecommitdiffstats
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
parent21ae8a4b715acd326e6404ce6409ae329566eb64 (diff)
downloadbcachefs-tools-ee1d223ab2b186051716450050d6b508cd25bbfb.tar.gz
Update bcachefs sources to 04f2d2ae5b bcachefs: Fix build error on weird gcc
-rw-r--r--.bcachefs_revision2
-rw-r--r--libbcachefs/super-io.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/.bcachefs_revision b/.bcachefs_revision
index 87a4c7de..9071b137 100644
--- a/.bcachefs_revision
+++ b/.bcachefs_revision
@@ -1 +1 @@
-070ec8d07bcab34fde39499a79b9da6f4254ec7c
+04f2d2ae5bd69eecd0b4bb700efdc665b09745a1
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)
{