File itrace-d_path.patch of Package itrace

---
 src/driver/pi_btrace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/driver/pi_btrace.c
+++ b/src/driver/pi_btrace.c
@@ -791,7 +791,7 @@ char * set_segment_name(MTE_HOOK * hook,
 	char * seg_name;
 
 	if (vma->vm_file != NULL) {
-		seg_name = d_path(vma->vm_file->f_dentry, vma->vm_file->f_vfsmnt, name_buffer, 256);
+		seg_name = d_path(&vma->vm_file->f_path, name_buffer, 256);
 		if (strstr(seg_name, "(deleted)") != NULL)
 			seg_name = NULL;
 		else