ext4: use ext4_grpblk_t more extensively
commita36b44988cef1fc007535107013571fa691a2d7f
authorEric Sandeen <sandeen@redhat.com>
Wed, 26 Aug 2009 02:36:45 +0000 (25 22:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 26 Aug 2009 02:36:45 +0000 (25 22:36 -0400)
treeb9d659b8ac2a1068f6fbc08ac093902333512c70
parent1927805e6599d8602d2c0af6a0155c85acc0b214
ext4: use ext4_grpblk_t more extensively

unsigned  short is potentially too small to track blocks within
a group; today it is safe due to restrictions in e2fsprogs but
we have _lo / _hi bits for group blocks with the intent to go
up to 32 bits, so clean this up now.

There are many more places where we use unsigned/int/unsigned int
to contain a group block but this should at least fix all the
short types.

I added a few comments to the struct ext4_group_info definition
as well.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/mballoc.c
fs/ext4/mballoc.h