blob: bf3cbd43c9e2bfcfd6ac3c85893d2196a61631de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|