diff options
author | David Howells <dhowells@redhat.com> | 2015-03-17 23:26:21 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-15 21:06:55 +0200 |
commit | 3b362157b2162719145d4f3d4f534357d89b45ce (patch) | |
tree | 20b1a73d33e66ce138253f19fec744b619fcb0ce /kernel/audit.c | |
parent | VFS: Fix up some ->d_inode accesses in the chelsio driver (diff) | |
download | linux-3b362157b2162719145d4f3d4f534357d89b45ce.tar.xz linux-3b362157b2162719145d4f3d4f534357d89b45ce.zip |
VFS: audit: 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 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 72ab759a0b43..f0603092f5cc 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -1915,7 +1915,7 @@ void audit_log_link_denied(const char *operation, struct path *link) /* Generate AUDIT_PATH record with object. */ name->type = AUDIT_TYPE_NORMAL; - audit_copy_inode(name, link->dentry, link->dentry->d_inode); + audit_copy_inode(name, link->dentry, d_backing_inode(link->dentry)); audit_log_name(current->audit_context, name, link, 0, NULL); out: kfree(name); |