From: Stephen Smalley Date: Mon, 22 Jun 2009 18:54:53 +0000 (-0400) Subject: selinux: restore optimization to selinux_file_permission X-Git-Tag: v2.6.32-rc1~737^2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20dda18be9035c487c2e9534e4d18d2a1e1deade;p=pandora-kernel.git selinux: restore optimization to selinux_file_permission Restore the optimization to skip revalidation in selinux_file_permission if nothing has changed since the dentry_open checks, accidentally removed by 389fb800. Also remove redundant test from selinux_revalidate_file_permission. Signed-off-by: Stephen Smalley Reviewed-by: Paul Moore Acked-by: Eric Paris Signed-off-by: James Morris --- Reading git-diff-tree failed