Advertisement
Guest User

vmtools.inode.c.patch

a guest
May 29th, 2013
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.53 KB | None | 0 0
  1. --- ./inode.c   2013-02-26 02:18:24.000000000 +0000
  2. +++ ./inode.c   2013-05-03 00:34:59.995053850 +0100
  3. @@ -885,7 +885,8 @@
  4.     ASSERT(inode);
  5.  
  6.     LOG(4, (KERN_DEBUG "VMware hgfs: HgfsTruncatePages: entered\n"));
  7. -   result = compat_vmtruncate(inode, newSize);
  8. +    //result = compat_vmtruncate(inode, newSize);
  9. +   result = 0; // Fix for kernels 3.8.x due to an error in truncate function
  10.     if (result) {
  11.        LOG(4, (KERN_DEBUG "VMware hgfs: HgfsTruncatePages: vmtruncate failed "
  12.                "with error code %d\n", result));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement