Whamcloud - gitweb
LU-6105 build: Update SPL/ZFS version to 0.6.3-1.2
[fs/lustre-release.git] / lustre / osd-zfs / osd_internal.h
index 536da7e..10791a5 100644 (file)
@@ -49,6 +49,9 @@
 #include <lustre_quota.h>
 
 #define _SPL_KMEM_H
+/* SPL redefines this but to the same value: ~0UL vs -1, but GCC complains.
+ * fixed in SPL master 52479ecf58fa89190e384edcf838fecccc786af5 */
+#undef SHRINK_STOP
 #include <sys/kstat.h>
 #define kmem_zalloc(a, b)      kzalloc(a, b)
 #define kmem_free(ptr, sz)     ((void)(sz), kfree(ptr))