From: Mimi Zohar Date: Fri, 4 Sep 2009 17:08:46 +0000 (-0400) Subject: IMA: update ima_counts_put X-Git-Tag: v2.6.31~5^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd0c935178649f72c44ec49ca83bee35ce1f79e;p=pandora-kernel.git IMA: update ima_counts_put - As ima_counts_put() may be called after the inode has been freed, verify that the inode is not NULL, before dereferencing it. - Maintain the IMA file counters in may_open() properly, decrementing any counter increments on subsequent errors. Reported-by: Ciprian Docan Reported-by: J.R. Okajima Signed-off-by: Mimi Zohar Acked-by: Eric Paris --- Reading git-diff-tree failed