diff options
author | Eric Paris <eparis@redhat.com> | 2010-10-25 14:41:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 11:37:18 -0700 |
commit | 497f32337073a2da102c49a53779097b5394711b (patch) | |
tree | 203cbcd3f9462737d872e24fb2c847ce9a69de45 /net | |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions