]> git.karo-electronics.de Git - karo-tx-linux.git/commit
audit: pass in dentry to audit_copy_inode wherever possible
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Oct 2012 19:25:20 +0000 (15:25 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 11 Oct 2012 15:43:36 +0000 (11:43 -0400)
commit7f598b6a54d05208b4eaaf61cb497e4834cdd684
treebf5f67c91f44f39eafe25f86b0f2cbb802fb0efb
parent5561964b1501b9201e7c4d9798472ac0ade14a91
audit: pass in dentry to audit_copy_inode wherever possible

In some cases, we were passing in NULL even when we have a dentry.

Reported-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/auditsc.c