git: bb95e6fa98a3 - main - Fix compilation issue, when DTRACE is not defined
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Mar 2023 20:07:53 UTC
The branch main has been updated by fsu:
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(-)
diff --git a/sys/fs/ext2fs/ext2_lookup.c b/sys/fs/ext2fs/ext2_lookup.c
index 0de8c103b7f1..990cfa1260c7 100644
--- a/sys/fs/ext2fs/ext2_lookup.c
+++ b/sys/fs/ext2fs/ext2_lookup.c
@@ -799,12 +799,9 @@ ext2_search_dirblock(struct inode *ip, void *data, int *foundp,
void
ext2_dirbad(struct inode *ip, doff_t offset, char *how)
{
- struct mount *mp __sdt_used;
-
- mp = ITOV(ip)->v_mount;
SDT_PROBE4(ext2fs, , trace, ext2_dirbad_error,
- mp->mnt_stat.f_mntonname, ip->i_number, offset, how);
+ ITOV(ip)->v_mount->mnt_stat.f_mntonname, ip->i_number, offset, how);
}
/*