diff options
author | Eric Paris <eparis@redhat.com> | 2010-10-25 20:41:45 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 20:37:18 +0200 |
commit | ad16ad00c34d3f320a5876b3d711ef6bc81362e1 (patch) | |
tree | 7cf3b755567fde2850d2ea7f4a186a0dcea6b80f /net/ax25/ax25_ds_timer.c | |
parent | IMA: convert internal flags from long to char (diff) | |
download | linux-ad16ad00c34d3f320a5876b3d711ef6bc81362e1.tar.xz linux-ad16ad00c34d3f320a5876b3d711ef6bc81362e1.zip |
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 <eparis@redhat.com>
Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ax25/ax25_ds_timer.c')
0 files changed, 0 insertions, 0 deletions