[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241108-build-fix-v1-1-ce159b306875@gmail.com>
Date: Fri, 08 Nov 2024 08:55:15 +0000
From: Gabriel de Perthuis <g2p.code@...il.com>
To: Kent Overstreet <kent.overstreet@...ux.dev>
Cc: linux-bcachefs@...r.kernel.org, linux-kernel@...r.kernel.org,
Gabriel de Perthuis <g2p.code@...il.com>
Subject: [PATCH] bcachefs: Remove an unused label
Trivial fix for an issue that triggered -Werror.
fs/bcachefs/btree_io.c: In function ‘validate_bset’:
fs/bcachefs/btree_io.c:828:1: error: label ‘out’ defined but not used [-Werror=unused-label]
828 | out:
| ^~~
cc1: all warnings being treated as errors
Fixes: a78c8274ea0c7ebccf2474a9c2e4a15cead79295 ("bcachefs: Fix validate_bset() repair path")
Signed-off-by: Gabriel de Perthuis <g2p.code@...il.com>
---
fs/bcachefs/btree_io.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/bcachefs/btree_io.c b/fs/bcachefs/btree_io.c
index b8c723d61283891bc789dc39056a44c7dc8d0d67..839d68802e4268ff500af0ee6b0029dcf77d3313 100644
--- a/fs/bcachefs/btree_io.c
+++ b/fs/bcachefs/btree_io.c
@@ -824,11 +824,10 @@ static int validate_bset(struct bch_fs *c, struct bch_dev *ca,
compat_bformat(b->c.level, b->c.btree_id, version,
BSET_BIG_ENDIAN(i), write,
&bn->format);
}
-out:
fsck_err:
printbuf_exit(&buf2);
printbuf_exit(&buf1);
return ret;
}
---
base-commit: a78c8274ea0c7ebccf2474a9c2e4a15cead79295
change-id: 20241108-build-fix-c2931c223567
Best regards,
--
Gabriel de Perthuis
Powered by blists - more mailing lists