Drop support for kernels < 4.4 from ns contexts
[lttng-modules.git] / src / lttng-context-mnt-ns.c
index cc41dc7d489380ca89c69c2bfa8e2047598bb5a7..c4bf5593fe9bd34ee8d1aab68ac2b2aa11c39a55 100644 (file)
@@ -9,6 +9,8 @@
  *
  */
 
+#ifndef LTTNG_MNT_NS_MISSING_HEADER
+
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
@@ -19,9 +21,6 @@
 #include <wrapper/vmalloc.h>
 #include <lttng/tracer.h>
 
-#if !defined(LTTNG_MNT_NS_MISSING_HEADER) && \
-       (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
-
 #include <../fs/mount.h>
 
 static
This page took 0.022421 seconds and 4 git commands to generate.