]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
UBUNTU: SAUCE: vbox -- remove .readlink assignment
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 18 Jan 2017 14:44:42 +0000 (08:44 -0600)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
Since 76fca90e9f3a "vfs: default to generic_readlink()" the vfs
will default to generic_readlink if the fs .readlink callback s
NULL.

Fixes FTBFS with 4.10 kernels.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
ubuntu/vbox/vboxsf/lnkops.c

index 66ddecddff5420f9168abb0f1ff97318cf585bb6..0d81e74199afc619a6fd3ce458c55f0d901ff545 100644 (file)
@@ -90,7 +90,6 @@ static const char *sf_get_link(struct dentry *dentry, struct inode *inode,
 
 struct inode_operations sf_lnk_iops =
 {
-    .readlink       = generic_readlink,
 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
     .get_link       = sf_get_link
 # elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)