projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Add f_dentry wrapper for 3.19+ kernels
[lttng-modules.git]
/
wrapper
/
file.h
diff --git
a/wrapper/file.h
b/wrapper/file.h
index 2440745c67240269ac432641b50517ebe821bfc0..37c8c9ba3518175afa53110ad303bcf2e8448728 100644
(file)
--- a/
wrapper/file.h
+++ b/
wrapper/file.h
@@
-34,6
+34,8
@@
inline int lttng_get_unused_fd(void)
return get_unused_fd_flags(0);
}
return get_unused_fd_flags(0);
}
+#define lttng_f_dentry f_path.dentry
+
#else /* #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */
static
#else /* #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */
static
@@
-42,6
+44,8
@@
inline int lttng_get_unused_fd(void)
return get_unused_fd();
}
return get_unused_fd();
}
+#define lttng_f_dentry f_dentry
+
#endif /* #else #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */
#endif /* _LTTNG_WRAPPER_FILE_H */
#endif /* #else #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */
#endif /* _LTTNG_WRAPPER_FILE_H */
This page took
0.023269 seconds
and
4
git commands to generate.