From: Eric Paris Date: Mon, 25 Oct 2010 18:41:32 +0000 (-0400) Subject: IMA: use unsigned int instead of long for counters X-Git-Tag: v2.6.37-rc1~106^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=497f32337073a2da102c49a53779097b5394711b;p=pandora-kernel.git 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 Acked-by: Mimi Zohar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed