X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fwriteback.h;fp=instrumentation%2Fevents%2Flttng-module%2Fwriteback.h;h=215662b783887d1d05cc7b5adb40cebce7d53ba6;hb=8d2c7a7c203b62bca1705870256388e2ff7a583c;hp=225940c90d67ce71ad718b879eb8ee1ed8266e7b;hpb=4873090fa6bec2e0dc03f8acf5309b38207bf4dd;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/writeback.h b/instrumentation/events/lttng-module/writeback.h index 225940c9..215662b7 100644 --- a/instrumentation/events/lttng-module/writeback.h +++ b/instrumentation/events/lttng-module/writeback.h @@ -13,7 +13,8 @@ #ifndef _TRACE_WRITEBACK_DEF_ #define _TRACE_WRITEBACK_DEF_ -#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0)) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0) && \ + LTTNG_RHEL_VERSION_CODE < LTTNG_RHEL_KERNEL_VERSION(3,10,0,327,10,1)) static inline struct backing_dev_info *inode_to_bdi(struct inode *inode) { struct super_block *sb = inode->i_sb;