From: Al Viro Date: Wed, 16 Dec 2009 11:38:01 +0000 (-0500) Subject: Untangling ima mess, part 3: kill dead code in ima X-Git-Tag: v2.6.33-rc1~49^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1429b3eca23818f87f9fa569a15d9816de81f698;p=pandora-kernel.git Untangling ima mess, part 3: kill dead code in ima Kill the 'update' argument of ima_path_check(), kill dead code in ima. Current rules: ima counters are bumped at the same time when the file switches from put_filp() fodder to fput() one. Which happens exactly in two places - alloc_file() and __dentry_open(). Nothing else needs to do that at all. Signed-off-by: Al Viro --- Reading git-diff-tree failed