Skip to content

Instantly share code, notes, and snippets.

View sjmh's full-sized avatar

steven 'haji' hajducko sjmh

View GitHub Profile
@sjmh
sjmh / vmhgfs-d_count-kernel-3.10-tools-9.6.2.patch
Last active August 29, 2015 14:19
VMware Tools hgfs patch for RHEL6 kernel 3.10.0-123
--- inode.c 2014-03-21 15:37:16.000000000 -0700
+++ inode.c-new 2014-07-17 14:20:50.202233706 -0700
@@ -31,6 +31,9 @@
#include <linux/namei.h>
#endif
#include <linux/highmem.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
+#include <linux/dcache.h>
+#endif