Fix compilation issue, when DTRACE is not defined

PR:             270346
Reported by:    Michael Paepcke
MFC after:      2 week
This commit is contained in:
Fedor Uporov
2023-03-20 23:04:38 +03:00
parent 822057bfbb
commit bb95e6fa98
+1 -4
View File
@@ -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);
}
/*