fix: file: Rename fcheck lookup_fd_rcu (v5.11)
[lttng-modules.git] / probes / lttng-uprobes.c
index bda1d9b46cbce41a5e4a06c2c3b3124e634fbfe3..acb2627af029b83337556c9150f6f1133a2f4d00 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>
@@ -126,7 +126,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 "Cannot access file backing the fd(%d)\n", fd);
                inode = NULL;
This page took 0.022941 seconds and 4 git commands to generate.