X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fwriteback.h;h=a215f55badf5a024315dc868a1a5bc51fef11bd4;hb=53c4007f9ea3c1bd11295dc87b97ebd1475fdb4c;hp=cfa903eb45ff12b4870a3dec966d32618968ab0b;hpb=0dca920627c14df3ca22e244957ed5f9d91894fb;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/writeback.h b/instrumentation/events/lttng-module/writeback.h index cfa903eb..a215f55b 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;