diff options
Diffstat (limited to 'app-emulation/vmware-modules/files/304-4.10-00-generic_readlink.patch')
-rw-r--r-- | app-emulation/vmware-modules/files/304-4.10-00-generic_readlink.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/304-4.10-00-generic_readlink.patch b/app-emulation/vmware-modules/files/304-4.10-00-generic_readlink.patch new file mode 100644 index 0000000..ab22a75 --- /dev/null +++ b/app-emulation/vmware-modules/files/304-4.10-00-generic_readlink.patch @@ -0,0 +1,14 @@ +--- vmblock-only/linux/inode.c 2017-02-21 08:38:50.844678686 -0700 ++++ vmblock-only/linux/inode.c 2017-02-21 08:59:40.557917497 -0700 +@@ -207,8 +207,10 @@ + return vfs_readlink(dentry, buffer, buflen, iinfo->name); + #elif LINUX_VERSION_CODE <= KERNEL_VERSION(4, 6, 99) + return readlink_copy(buffer, buflen, iinfo->name); +-#else ++#elif LINUX_VERSION_CODE <= KERNEL_VERSION(4, 9, 99) + return generic_readlink(dentry, buffer, buflen); ++#else ++ return vfs_readlink(dentry, buffer, buflen); + #endif + } + |