[PATCH] more ext3 16T overflow fixes
authorEric Sandeen <esandeen@redhat.com>
Wed, 27 Sep 2006 08:49:36 +0000 (01:49 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:10 +0000 (08:26 -0700)
commit32c2d2bc4bed61323f14f2a7d69ccbd567253d8a
tree07b65d42ae5fa3d38ad8832928408dcd4aa31fc6
parenta4e4de36dc446b2193bdc8ebb96a96e44b69dd94
[PATCH] more ext3 16T overflow fixes

Some of the changes in balloc.c are just cosmetic, as Andreas pointed out -
if they overflow they'll then underflow and things are fine.

5th hunk actually fixes an overflow problem.

Also check for potential overflows in inode & block counts when resizing.

Signed-off-by: Eric Sandeen <esandeen@redhat.com>
Cc: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/balloc.c
fs/ext3/resize.c