From 2855acb90b52f1a4f87d04dbaa48cb49025f1535 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 15 Apr 2021 10:53:21 -0400 Subject: [PATCH] fix: Adjust ranges for Ubuntu 5.4.0-67 kernel Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: Ifa0f50ffdc946d80b67bb5ae7ca4b0aa152e825b --- instrumentation/events/lttng-module/writeback.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/instrumentation/events/lttng-module/writeback.h b/instrumentation/events/lttng-module/writeback.h index 9ce9a421..8c0ea8c6 100644 --- a/instrumentation/events/lttng-module/writeback.h +++ b/instrumentation/events/lttng-module/writeback.h @@ -65,7 +65,8 @@ static inline struct backing_dev_info *lttng_inode_to_bdi(struct inode *inode) #endif -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,9,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,9,0) || \ + LTTNG_UBUNTU_KERNEL_RANGE(5,4,94,67, 5,5,0,0)) #define show_inode_state(state) \ __print_flags(state, "|", \ {I_DIRTY_SYNC, "I_DIRTY_SYNC"}, \ -- 2.34.1