From: Al Viro Date: Wed, 16 Dec 2009 09:53:03 +0000 (-0500) Subject: Untangling ima mess, part 1: alloc_file() X-Git-Tag: v2.6.33-rc1~49^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0552f879d45cecc35d8e372a591fc5ed863bca58;p=pandora-kernel.git Untangling ima mess, part 1: alloc_file() There are 2 groups of alloc_file() callers: * ones that are followed by ima_counts_get * ones giving non-regular files So let's pull that ima_counts_get() into alloc_file(); it's a no-op in case of non-regular files. Signed-off-by: Al Viro --- Reading git-diff-tree failed