diff options
author | Mike Gilbert <floppym@gentoo.org> | 2015-05-10 10:42:06 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2015-05-10 10:42:12 -0400 |
commit | f8715ae744330238ccec670b751bae0cff99d854 (patch) | |
tree | 38424a8e00e20719ec20cdd97755c098db330809 /app-emulation/open-vm-tools-kmod/files | |
parent | Use version dependency for libgcrypt (otherwise stable users get a blocker), ... (diff) | |
download | vmware-f8715ae744330238ccec670b751bae0cff99d854.tar.gz vmware-f8715ae744330238ccec670b751bae0cff99d854.tar.bz2 vmware-f8715ae744330238ccec670b751bae0cff99d854.zip |
Remove open-vm-tools-kmod; the main tree is more up to date
Diffstat (limited to 'app-emulation/open-vm-tools-kmod/files')
-rw-r--r-- | app-emulation/open-vm-tools-kmod/files/vmhgfs-linux-3.11.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/app-emulation/open-vm-tools-kmod/files/vmhgfs-linux-3.11.patch b/app-emulation/open-vm-tools-kmod/files/vmhgfs-linux-3.11.patch deleted file mode 100644 index 3918162..0000000 --- a/app-emulation/open-vm-tools-kmod/files/vmhgfs-linux-3.11.patch +++ /dev/null @@ -1,42 +0,0 @@ -Source: https://github.com/rasa/vmware-tools-patches/ - ---- a/modules/linux/vmhgfs/inode.c -+++ b/modules/linux/vmhgfs/inode.c -@@ -31,6 +31,9 @@ - #include <linux/namei.h> - #endif - #include <linux/highmem.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0) -+#include <linux/dcache.h> -+#endif - - #include "compat_cred.h" - #include "compat_fs.h" -@@ -1890,7 +1893,11 @@ - #endif - &inode->i_dentry, - d_alias) { -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0) -+ int dcount = d_count(dentry); -+#else - int dcount = dentry->d_count; -+#endif - if (dcount) { - LOG(4, ("Found %s %d \n", dentry->d_name.name, dcount)); - return HgfsAccessInt(dentry, mask & (MAY_READ | MAY_WRITE | MAY_EXEC)); -@@ -1943,10 +1950,12 @@ - list_for_each(pos, &inode->i_dentry) { - int dcount; - struct dentry *dentry = list_entry(pos, struct dentry, d_alias); --#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 38) -- dcount = atomic_read(&dentry->d_count); --#else -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0) -+ dcount = d_count(dentry); -+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38) - dcount = dentry->d_count; -+#else -+ dcount = atomic_read(&dentry->d_count); - #endif - if (dcount) { - LOG(4, ("Found %s %d \n", (dentry)->d_name.name, dcount)); |