From: mjeanson@efficios.com (Michael Jeanson)
Subject: [lttng-dev] [PATCH lttng-modules] fix: btrfs: move basic block_group definitions to their own header (v5.4)
Date: Mon, 30 Sep 2019 15:15:34 -0400 [thread overview]
Message-ID: <20190930191534.11561-1-mjeanson@efficios.com> (raw)
commit aac0023c2106952538414254960c51dcf0dc39e9
Author: Josef Bacik <josef at toxicpanda.com>
Date: Thu Jun 20 15:37:44 2019 -0400
btrfs: move basic block_group definitions to their own header
This is prep work for moving all of the block group cache code into its
own file.
Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
probes/lttng-probe-btrfs.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/probes/lttng-probe-btrfs.c b/probes/lttng-probe-btrfs.c
index b531197..69e69aa 100644
--- a/probes/lttng-probe-btrfs.c
+++ b/probes/lttng-probe-btrfs.c
@@ -10,9 +10,13 @@
#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>
--
2.17.1
next reply other threads:[~2019-09-30 19:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-30 19:15 Michael Jeanson [this message]
2019-09-30 19:35 ` Mathieu Desnoyers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190930191534.11561-1-mjeanson@efficios.com \
--to=mjeanson@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox