From f5db14521a1c27c563c48dabed6f6c03e7d2d9ae Mon Sep 17 00:00:00 2001 From: Seth Forshee Date: Thu, 23 Feb 2017 10:27:45 -0600 Subject: [PATCH] UBUNTU: ubuntu: vbox -- Update to 5.1.14-dfsg-2 Signed-off-by: Seth Forshee --- ubuntu/vbox/BOM | 4 ++-- ubuntu/vbox/vboxsf/lnkops.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ubuntu/vbox/BOM b/ubuntu/vbox/BOM index 299e73a85a5f..f97e1f35e208 100644 --- a/ubuntu/vbox/BOM +++ b/ubuntu/vbox/BOM @@ -1,2 +1,2 @@ -Source: http://ports.ubuntu.com/pool/multiverse/v/virtualbox/virtualbox-guest-dkms_5.1.14-dfsg-1_all.deb -Version: 5.1.14-dfsg-1 +Source: http://ports.ubuntu.com/pool/multiverse/v/virtualbox/virtualbox-guest-dkms_5.1.14-dfsg-2_all.deb +Version: 5.1.14-dfsg-2 diff --git a/ubuntu/vbox/vboxsf/lnkops.c b/ubuntu/vbox/vboxsf/lnkops.c index 0d81e74199af..e43b84c0dd3d 100644 --- a/ubuntu/vbox/vboxsf/lnkops.c +++ b/ubuntu/vbox/vboxsf/lnkops.c @@ -90,6 +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) -- 2.39.2