summarylogtreecommitdiffstats
path: root/0001-fix-4.10.y.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-fix-4.10.y.patch')
-rw-r--r--0001-fix-4.10.y.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0001-fix-4.10.y.patch b/0001-fix-4.10.y.patch
new file mode 100644
index 000000000000..bf3cbd43c9e2
--- /dev/null
+++ b/0001-fix-4.10.y.patch
@@ -0,0 +1,26 @@
+From 516856f60f8a47173aa71e067c37f8622245c80e Mon Sep 17 00:00:00 2001
+From: Cody P Schafer <dev@codyps.com>
+Date: Thu, 30 Mar 2017 15:44:05 -0400
+Subject: [PATCH] fix 4.10.y
+
+---
+ prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c b/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c
+index ccee80c..7cb3f3e 100644
+--- a/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c
++++ b/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c
+@@ -763,7 +763,9 @@ struct inode_operations prlfs_symlink_iops = {
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
+ .readlink = prlfs_readlink,
+ #else
++# if LINUX_VERSION_CODE < KERNEL_VERSION(4,10,0)
+ .readlink = generic_readlink,
++# endif
+ .getattr = prlfs_getattr,
+ #endif
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,5,0)
+--
+2.12.1
+