]> 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)
commit4a5b18e11fcf7e07045996043d89d815c6b52c12
treec21a641405f7de220f16be4d2e74fec387ec92a9
parent434b9d79d3273f2f2492a3242fdc450249b006de
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