]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Hgfs Linux Kernel Client: Fix RHEL 7 system backports
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:09 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:09 +0000 (11:23 -0700)
RHEL 7.3 introduced some backport changes for the Linux kernel
which broke some of the assumptions about wait_on_bit function
arguments.  This fixes the test of wait_on_bit compile which
accidentally tests the function in kernel 3.17.0 which will
always fail instead of intentionally failing with the pragma.

open-vm-tools/modules/linux/shared/autoconf/wait_on_bit.c

index 31664a91e6712051dc05d65c98816ed2de635f5d..a543cc13e78a069463f06fac4c6ad7285b6cbd47 100644 (file)
@@ -19,7 +19,7 @@
 #include "compat_version.h"
 #include "compat_autoconf.h"
 
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 17, 0) && \
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) && \
     LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
 
 #include <linux/fs.h>