From: Eric Paris Date: Mon, 25 Oct 2010 18:41:45 +0000 (-0400) Subject: IMA: use inode->i_lock to protect read and write counters X-Git-Tag: v2.6.37-rc1~106^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad16ad00c34d3f320a5876b3d711ef6bc81362e1;p=pandora-kernel.git IMA: use inode->i_lock to protect read and write counters Currently IMA used the iint->mutex to protect the i_readcount and i_writecount. This patch uses the inode->i_lock since we are going to start using in inode objects and that is the most appropriate lock. Signed-off-by: Eric Paris Acked-by: Mimi Zohar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed