Fix: Add f_dentry wrapper for 3.19+ kernels
[lttng-modules.git] / lttng-statedump-impl.c
index e0d74f6f9e5b257a0636e0b9bebad94b962b7209..2c7fc17853b1b3310faeca057f83db0d8bdc6682 100644 (file)
@@ -56,6 +56,7 @@
 #include "wrapper/irq.h"
 #include "wrapper/tracepoint.h"
 #include "wrapper/genhd.h"
+#include "wrapper/file.h"
 
 #ifdef CONFIG_LTTNG_HAS_LIST_IRQ
 #include <linux/irq.h>
@@ -327,7 +328,7 @@ void lttng_enumerate_task_vm_maps(struct lttng_session *session,
                down_read(&mm->mmap_sem);
                while (map) {
                        if (map->vm_file)
-                               ino = map->vm_file->f_dentry->d_inode->i_ino;
+                               ino = map->vm_file->lttng_f_dentry->d_inode->i_ino;
                        else
                                ino = 0;
                        trace_lttng_statedump_vm_map(session, p, map, ino);
This page took 0.022823 seconds and 4 git commands to generate.