fix: file: Rename fcheck lookup_fd_rcu (v5.11)
[lttng-modules.git] / src / probes / lttng-uprobes.c
index b9007146d39fbb3504f287f845890de38f867834..031bfa7cd3affafed75130840405d9c08ad17438 100644 (file)
@@ -9,7 +9,7 @@
  *
  */
 
-#include <linux/fdtable.h>
+#include <wrapper/fdtable.h>
 #include <linux/list.h>
 #include <linux/module.h>
 #include <linux/namei.h>
@@ -170,7 +170,7 @@ static struct inode *get_inode_from_fd(int fd)
         * Returns the file backing the given fd. Needs to be done inside an RCU
         * critical section.
         */
-       file = fcheck(fd);
+       file = lttng_lookup_fd_rcu(fd);
        if (file == NULL) {
                printk(KERN_WARNING "LTTng: Cannot access file backing the fd(%d)\n", fd);
                inode = NULL;
This page took 0.025891 seconds and 4 git commands to generate.