From: Michael Jeanson Date: Thu, 15 Apr 2021 14:53:21 +0000 (-0400) Subject: fix: Adjust ranges for Ubuntu 5.4.0-67 kernel X-Git-Tag: v2.13.0-rc1~13 X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=4140ad5d31731fbfc179fbcf0221322cfeba6461 fix: Adjust ranges for Ubuntu 5.4.0-67 kernel Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: Ifa0f50ffdc946d80b67bb5ae7ca4b0aa152e825b --- diff --git a/include/instrumentation/events/writeback.h b/include/instrumentation/events/writeback.h index f05708a8..32894517 100644 --- a/include/instrumentation/events/writeback.h +++ b/include/instrumentation/events/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"}, \