aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-03-17 18:26:21 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-15 15:06:55 -0400
commit3b362157b2162719145d4f3d4f534357d89b45ce (patch)
tree20b1a73d33e66ce138253f19fec744b619fcb0ce /kernel/audit.c
parentc1d81b1cf937027d23f7e53cdd12328799028c6a (diff)
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.c2
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)
1915 1915
1916 /* Generate AUDIT_PATH record with object. */ 1916 /* Generate AUDIT_PATH record with object. */
1917 name->type = AUDIT_TYPE_NORMAL; 1917 name->type = AUDIT_TYPE_NORMAL;
1918 audit_copy_inode(name, link->dentry, link->dentry->d_inode); 1918 audit_copy_inode(name, link->dentry, d_backing_inode(link->dentry));
1919 audit_log_name(current->audit_context, name, link, 0, NULL); 1919 audit_log_name(current->audit_context, name, link, 0, NULL);
1920out: 1920out:
1921 kfree(name); 1921 kfree(name);