]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitb5b2ae86ae5a2a26d299040a18d57034a86266b7
tree07b65d42ae5fa3d38ad8832928408dcd4aa31fc6
parent91ec31aae3acb158bfe0755c6c69ba3438e2bcfb
[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