From: Jeff Layton Date: Wed, 10 Oct 2012 19:25:25 +0000 (-0400) Subject: audit: overhaul __audit_inode_child to accomodate retrying X-Git-Tag: v3.7-rc1~32^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fa6b5ecbf092c6ee752ece8a55d71f663d23254;p=pandora-kernel.git audit: overhaul __audit_inode_child to accomodate retrying In order to accomodate retrying path-based syscalls, we need to add a new "type" argument to audit_inode_child. This will tell us whether we're looking for a child entry that represents a create or a delete. If we find a parent, don't automatically assume that we need to create a new entry. Instead, use the information we have to try to find an existing entry first. Update it if one is found and create a new one if not. Signed-off-by: Jeff Layton Signed-off-by: Al Viro --- Reading git-diff-tree failed