projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build for RHEL 8.8 with linux 4.18.0-477.10.1+
[lttng-modules.git]
/
include
/
wrapper
/
fs.h
diff --git
a/include/wrapper/fs.h
b/include/wrapper/fs.h
index f11c19fca011646b0e83004a71e33aaeb931565c..f5d5867489c198405aac9c5fa2907d47b8be0fcb 100644
(file)
--- a/
include/wrapper/fs.h
+++ b/
include/wrapper/fs.h
@@
-11,7
+11,7
@@
#include <linux/fs.h>
#include <lttng/kernel-version.h>
#include <linux/fs.h>
#include <lttng/kernel-version.h>
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,14,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,14,0))
static inline
ssize_t lttng_kernel_read(struct file *file, void *buf, size_t count, loff_t *pos)
static inline
ssize_t lttng_kernel_read(struct file *file, void *buf, size_t count, loff_t *pos)
@@
-19,7
+19,7
@@
ssize_t lttng_kernel_read(struct file *file, void *buf, size_t count, loff_t *po
return kernel_read(file, buf, count, pos);
}
return kernel_read(file, buf, count, pos);
}
-#else /* L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,14,0) */
+#else /* L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,14,0) */
static inline
ssize_t lttng_kernel_read(struct file *file, void *buf, size_t count, loff_t *pos)
static inline
ssize_t lttng_kernel_read(struct file *file, void *buf, size_t count, loff_t *pos)
@@
-38,6
+38,6
@@
ssize_t lttng_kernel_read(struct file *file, void *buf, size_t count, loff_t *po
return len;
}
return len;
}
-#endif /* L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,14,0) */
+#endif /* L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,14,0) */
#endif /* _LTTNG_WRAPPER_FS_H */
#endif /* _LTTNG_WRAPPER_FS_H */
This page took
0.023909 seconds
and
4
git commands to generate.