]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - ubuntu/vbox/vboxsf/lnkops.c
UBUNTU: ubuntu: vbox -- Update to 5.1.14-dfsg-2
[mirror_ubuntu-zesty-kernel.git] / ubuntu / vbox / vboxsf / lnkops.c
index 0d81e74199afc619a6fd3ce458c55f0d901ff545..e43b84c0dd3d7b61d7ddb5b283cd643524abe909 100644 (file)
@@ -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)