Browse Source

Added another patch for open-vm-tools-kmod (#507026, #507664)

Maxim Kammerer 11 năm trước cách đây
mục cha
commit
1fc757a245

+ 11 - 0
src/etc/portage/patches/app-emulation/open-vm-tools-kmod/readlink.patch

@@ -0,0 +1,11 @@
+--- orig/modules/linux/vmhgfs/link.c	2014-07-22 13:20:21.138165190 +0000
++++ new/modules/linux/vmhgfs/link.c	2014-07-22 13:08:50.579897944 +0000
+@@ -185,7 +185,7 @@ HgfsReadlink(struct dentry *dentry,  //
+       } else {
+          LOG(6, (KERN_DEBUG "VMware hgfs: %s: calling vfs_readlink %s\n",
+                  __func__, fileName));
+-         error = vfs_readlink(dentry, buffer, buflen, fileName);
++         error = readlink_copy(buffer, buflen, fileName);
+          LOG(6, (KERN_DEBUG "VMware hgfs: %s: vfs_readlink %s ret %dn",
+                  __func__, fileName, error));
+       }