X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fprobes%2Flttng-uprobes.c;h=031bfa7cd3affafed75130840405d9c08ad17438;hb=0aebcd682f2b7dc028e635297c504b39439551da;hp=b9007146d39fbb3504f287f845890de38f867834;hpb=5ef5f89155bc0c8dd4f8cfa12e9ba2f345fe7ef2;p=deliverable%2Flttng-modules.git diff --git a/src/probes/lttng-uprobes.c b/src/probes/lttng-uprobes.c index b9007146..031bfa7c 100644 --- a/src/probes/lttng-uprobes.c +++ b/src/probes/lttng-uprobes.c @@ -9,7 +9,7 @@ * */ -#include +#include #include #include #include @@ -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;