ext2fs (ext2fs/ext2_lookup.c) broken since 3c2dc524c333 (Do not panic in case of corrupted directory) --- ext2_lookup.o --- /usr/src/HEAD/sys/fs/ext2fs/ext2_lookup.c:529:16: error: variable 'mp' set but not used [-Werror,-Wunused-but-set-variable] struct mount *mp; ^ 1 error generated. On NONE debug kernel. SDT_PROBE4 via sdt.h include requires DTRACE (DTRACE_HOOKS,...)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bb95e6fa98a33ec3fdfed76249d5fdf863e930b0 commit bb95e6fa98a33ec3fdfed76249d5fdf863e930b0 Author: Fedor Uporov <fsu@FreeBSD.org> AuthorDate: 2023-03-20 20:04:38 +0000 Commit: Fedor Uporov <fsu@FreeBSD.org> CommitDate: 2023-03-20 20:06:57 +0000 Fix compilation issue, when DTRACE is not defined PR: 270346 Reported by: Michael Paepcke MFC after: 2 week sys/fs/ext2fs/ext2_lookup.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
Should be fixed in comment above. Thanks for report.
Great! Thank you for the quick action!