git: 62b572694b0a - main - ext2_dirbad(): fix !DTRACE build

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 20 Mar 2023 08:44:38 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=62b572694b0ad2fc2442e84b49c8abcc3b71b67f

commit 62b572694b0ad2fc2442e84b49c8abcc3b71b67f
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-03-20 08:42:51 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-03-20 08:44:22 +0000

    ext2_dirbad(): fix !DTRACE build
    
    Fixes:  3c2dc524c333747a8c5deb3f0f88b29a8e36dff4
    Sponsored by:   The FreeBSD Foundation
    MFC after:      2 weeks
---
 sys/fs/ext2fs/ext2_lookup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/fs/ext2fs/ext2_lookup.c b/sys/fs/ext2fs/ext2_lookup.c
index 4859d51f8429..0de8c103b7f1 100644
--- a/sys/fs/ext2fs/ext2_lookup.c
+++ b/sys/fs/ext2fs/ext2_lookup.c
@@ -799,7 +799,7 @@ ext2_search_dirblock(struct inode *ip, void *data, int *foundp,
 void
 ext2_dirbad(struct inode *ip, doff_t offset, char *how)
 {
-	struct mount *mp;
+	struct mount *mp __sdt_used;
 
 	mp = ITOV(ip)->v_mount;