From ee1d223ab2b186051716450050d6b508cd25bbfb Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 10 Jul 2023 15:57:09 -0400 Subject: [PATCH] Update bcachefs sources to 04f2d2ae5b bcachefs: Fix build error on weird gcc --- .bcachefs_revision | 2 +- libbcachefs/super-io.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.bcachefs_revision b/.bcachefs_revision index 87a4c7d..9071b13 100644 --- a/.bcachefs_revision +++ b/.bcachefs_revision @@ -1 +1 @@ -070ec8d07bcab34fde39499a79b9da6f4254ec7c +04f2d2ae5bd69eecd0b4bb700efdc665b09745a1 diff --git a/libbcachefs/super-io.c b/libbcachefs/super-io.c index 1b5bc4e..3532538 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) { -- 2.39.2