]> git.baikalelectronics.ru Git - kernel.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>
Fri, 12 Oct 2012 04:31:59 +0000 (00:31 -0400)
commit15aaf73f8c8e7d8e4f64e260258121128c67ff4d
treec21a641405f7de220f16be4d2e74fec387ec92a9
parent4af3c66584512b2006aca136c6420272a49e9a60
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