* [PATCH] bcachefs: Remove an unused label
@ 2024-11-08 8:55 Gabriel de Perthuis
0 siblings, 0 replies; only message in thread
From: Gabriel de Perthuis @ 2024-11-08 8:55 UTC (permalink / raw)
To: Kent Overstreet; +Cc: linux-bcachefs, linux-kernel, Gabriel de Perthuis
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@gmail.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-08 8:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-08 8:55 [PATCH] bcachefs: Remove an unused label Gabriel de Perthuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®