diff options
author | KenjiTakahashi | 2017-02-27 22:32:17 +0100 |
---|---|---|
committer | KenjiTakahashi | 2017-02-27 22:32:17 +0100 |
commit | 2f2b1278225060c8670f0e8d0924b94bbbaf1969 (patch) | |
tree | 01ea848dd79a2dcc4cc0e5746141f65e16e53c27 /009-linux-4-10.patch | |
parent | 1477e126e47a40423969fc30c764a3674021ec4e (diff) | |
download | aur-2f2b1278225060c8670f0e8d0924b94bbbaf1969.tar.gz |
5.1.14-3: Merge [community] changes
Diffstat (limited to '009-linux-4-10.patch')
-rw-r--r-- | 009-linux-4-10.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/009-linux-4-10.patch b/009-linux-4-10.patch new file mode 100644 index 000000000000..b5fc2d135270 --- /dev/null +++ b/009-linux-4-10.patch @@ -0,0 +1,24 @@ +From d9bd947b1fa1d7c47cd1cdb894dadfa07f51e446 Mon Sep 17 00:00:00 2001 +From: vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> +Date: Tue, 24 Jan 2017 08:13:25 +0000 +Subject: [PATCH] Additions/linux/sharedfolders: Linux 4.10 fix + +git-svn-id: http://www.virtualbox.org/svn/vbox@65409 cfe28804-0f27-0410-a406-dd0f0b0b656f +--- + trunk/src/VBox/Additions/linux/sharedfolders/lnkops.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/VBox/Additions/linux/sharedfolders/lnkops.c b/src/VBox/Additions/linux/sharedfolders/lnkops.c +index 66ddecd..e43b84c 100644 +--- a/src/VBox/Additions/linux/sharedfolders/lnkops.c ++++ b/src/VBox/Additions/linux/sharedfolders/lnkops.c +@@ -90,7 +90,9 @@ static const char *sf_get_link(struct dentry *dentry, struct inode *inode, + + struct inode_operations sf_lnk_iops = + { ++# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) + .readlink = generic_readlink, ++# endif + # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0) + .get_link = sf_get_link + # elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) |