2017-01-28 22:09:26 +01:00
|
|
|
|
|
|
|
Index: VirtualBox-5.1.14/src/VBox/Additions/linux/sharedfolders/lnkops.c
|
2017-01-25 03:54:58 +01:00
|
|
|
===================================================================
|
2017-01-28 22:09:26 +01:00
|
|
|
--- VirtualBox-5.1.14.orig/src/VBox/Additions/linux/sharedfolders/lnkops.c
|
|
|
|
+++ VirtualBox-5.1.14/src/VBox/Additions/linux/sharedfolders/lnkops.c
|
2017-03-04 06:07:22 +01:00
|
|
|
@@ -90,7 +90,9 @@ static const char *sf_get_link(struct de
|
2017-01-25 03:54:58 +01:00
|
|
|
|
2017-01-28 22:09:26 +01:00
|
|
|
struct inode_operations sf_lnk_iops =
|
|
|
|
{
|
2017-03-04 06:07:22 +01:00
|
|
|
+# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0)
|
2017-01-28 22:09:26 +01:00
|
|
|
.readlink = generic_readlink,
|
2017-03-04 06:07:22 +01:00
|
|
|
+#endif
|
|
|
|
# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
|
|
|
|
.get_link = sf_get_link
|
|
|
|
# elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
|