Whamcloud - gitweb
Fix overflow in calculation of total file system blocks
authorValerie Aurora Henson <vaurora@redhat.com>
Tue, 8 Sep 2009 01:23:03 +0000 (21:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 8 Sep 2009 01:23:03 +0000 (21:23 -0400)
commitc5b7b6babe658a2037af6c9d2b7a3c23208f98f1
treed1ab151a610ed70d0173d9d13c9d598eb8b64bdd
parent95fd65bb7fcf84e8d1e207f84b9d5a9f99626a38
Fix overflow in calculation of total file system blocks

Blocks per group and group desc count are both 32-bit; multiplied they
produce a 32-bit quantity which overflowed.

Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/pass5.c
lib/ext2fs/bitmaps.c
lib/ext2fs/rw_bitmaps.c