From: Jeff Layton Date: Wed, 10 Oct 2012 19:25:25 +0000 (-0400) Subject: audit: optimize audit_compare_dname_path X-Git-Tag: v3.7-rc1~32^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3d6b07b8ba161f638b026feba0c3c97875d7f1c;p=pandora-kernel.git audit: optimize audit_compare_dname_path In the cases where we already know the length of the parent, pass it as a parm so we don't need to recompute it. In the cases where we don't know the length, pass in AUDIT_NAME_FULL (-1) to indicate that it should be determined. Signed-off-by: Jeff Layton Signed-off-by: Al Viro --- Reading git-diff-tree failed