]> git.karo-electronics.de Git - karo-tx-linux.git/commit
audit: reverse arguments to audit_inode_child
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Oct 2012 19:25:21 +0000 (15:25 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 11 Oct 2012 15:43:37 +0000 (11:43 -0400)
commit232158c7045f34ffd8f7b323ea8766c5e344f084
tree90bd8090add6f3a05f4e96424892fe514b3a7a6a
parent2d75fc2b00854f61f106b810a3b72209fa63519d
audit: reverse arguments to audit_inode_child

Most of the callers get called with an inode and dentry in the reverse
order. The compiler then has to reshuffle the arg registers and/or
stack in order to pass them on to audit_inode_child.

Reverse those arguments for a micro-optimization.

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>
fs/btrfs/ioctl.c
fs/namei.c
include/linux/audit.h
include/linux/fsnotify.h
kernel/auditsc.c