summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-03-17 23:26:21 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-15 21:06:59 +0200
commitbb668734c4c960c8f61f017585b323b97e5f47b5 (patch)
treee9c90394fb8342aeccd1b337c2e7949c5c843bec /arch
parentVFS: fs/inode.c helpers: d_inode() annotations (diff)
downloadlinux-bb668734c4c960c8f61f017585b323b97e5f47b5.tar.xz
linux-bb668734c4c960c8f61f017585b323b97e5f47b5.zip
VFS: assorted d_backing_inode() annotations
Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/assigned-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/assigned-dev.c b/arch/x86/kvm/assigned-dev.c
index 6eb5c20ee373..d090ecf08809 100644
--- a/arch/x86/kvm/assigned-dev.c
+++ b/arch/x86/kvm/assigned-dev.c
@@ -666,7 +666,7 @@ static int probe_sysfs_permissions(struct pci_dev *dev)
if (r)
return r;
- inode = path.dentry->d_inode;
+ inode = d_backing_inode(path.dentry);
r = inode_permission(inode, MAY_READ | MAY_WRITE | MAY_ACCESS);
path_put(&path);