You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/app-emulation/vmware-modules/files/308-4.10-00-generic_readlin...

15 lines
510 B

--- 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
}