probe btrfs: remove compatibility code
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 20:53:54 +0000 (16:53 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 20:56:30 +0000 (16:56 -0400)
probes/lttng-probe-btrfs.c

index afb3acb35edf7b227c367b3a12bc5fe5bedc0f20..54bce99d280c4d0e21c58c5ae369b30042cb0150 100644 (file)
 
 #include <linux/module.h>
 #include <linux/fs.h>
-#include <linux/version.h>
 #include <../fs/btrfs/ctree.h>
 #include <../fs/btrfs/transaction.h>
 #include <../fs/btrfs/volumes.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,0))
 #include <../fs/btrfs/block-group.h>
-#endif
 #include <linux/dcache.h>
 #include <lttng-tracer.h>
 
This page took 0.025784 seconds and 4 git commands to generate.