From: Eric Paris Date: Mon, 25 Oct 2010 18:42:12 +0000 (-0400) Subject: IMA: drop refcnt from ima_iint_cache since it isn't needed X-Git-Tag: v2.6.37-rc1~106^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64c62f06bef8314a64d3189cb9c78062d54169b3;p=pandora-kernel.git IMA: drop refcnt from ima_iint_cache since it isn't needed Since finding a struct ima_iint_cache requires a valid struct inode, and the struct ima_iint_cache is supposed to have the same lifetime as a struct inode (technically they die together but don't need to be created at the same time) we don't have to worry about the ima_iint_cache outliving or dieing before the inode. So the refcnt isn't useful. Just get rid of it and free the structure when the inode is freed. Signed-off-by: Eric Paris Acked-by: Mimi Zohar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed