commit | 497f32337073a2da102c49a53779097b5394711b | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Mon Oct 25 14:41:32 2010 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 26 11:37:18 2010 -0700 |
tree | 203cbcd3f9462737d872e24fb2c847ce9a69de45 | |
parent | b575156dafef208415ff0842c392733d16d4ccf1 [diff] |
IMA: use unsigned int instead of long for counters Currently IMA uses 2 longs in struct inode. To save space (and as it seems impossible to overflow 32 bits) we switch these to unsigned int. The switch to unsigned does require slightly different checks for underflow, but it isn't complex. 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>