]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
audit: make audit_inode take struct filename
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Oct 2012 20:43:13 +0000 (16:43 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Oct 2012 00:15:09 +0000 (20:15 -0400)
commitadb5c2473d3f91526c79db972aafb20a56d3fbb3
treef0427a11a91af2f5a5d0037ce52c32633019120b
parent669abf4e5539c8aa48bf28c965be05c0a7b58a27
audit: make audit_inode take struct filename

Keep a pointer to the audit_names "slot" in struct filename.

Have all of the audit_inode callers pass a struct filename ponter to
audit_inode instead of a string pointer. If the aname field is already
populated, then we can skip walking the list altogether and just use it
directly.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
include/linux/audit.h
include/linux/fs.h
ipc/mqueue.c
kernel/auditsc.c