From: Mimi Zohar Date: Tue, 2 Nov 2010 14:13:07 +0000 (-0400) Subject: IMA: maintain i_readcount in the VFS layer X-Git-Tag: v2.6.39-rc1~486^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=890275b5eb79e9933d12290473eab9ac38da0051;p=pandora-kernel.git IMA: maintain i_readcount in the VFS layer ima_counts_get() updated the readcount and invalidated the PCR, as necessary. Only update the i_readcount in the VFS layer. Move the PCR invalidation checks to ima_file_check(), where it belongs. Maintaining the i_readcount in the VFS layer, will allow other subsystems to use i_readcount. Signed-off-by: Mimi Zohar Acked-by: Eric Paris --- Reading git-diff-tree failed