]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/audit.c
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[karo-tx-linux.git] / kernel / audit.c
index ab5745ddf9622025594d29a542a8e0ef21a39ce7..1c13e4267de6e78c0ceb566c6517b837ce2b947e 100644 (file)
@@ -1928,7 +1928,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);