vfs: do_last(): add audit_inode before open
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 21 May 2012 15:30:13 +0000 (17:30 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Jun 2012 16:11:59 +0000 (12:11 -0400)
commitd7fdd7f6e1afbffda03aeacb90039c092e8cacf8
tree3ce93ad170a92ee15b7d0d1364baa18c26aed042
parent050ac841ea90610067fec26150574be8c6077738
vfs: do_last(): add audit_inode before open

This allows this code to be shared between O_CREAT and plain opens.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c