ext4: use variables not types in sizeofs() for allocations
authorEric Sandeen <sandeen@redhat.com>
Wed, 26 Aug 2009 02:36:25 +0000 (22:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 26 Aug 2009 02:36:25 +0000 (22:36 -0400)
commit1927805e6599d8602d2c0af6a0155c85acc0b214
treeb5549d33960ef312efc3b8f54c78268a3e4f74dd
parenta8526e84ac758ac6da45cf273aa1538a6a7aa3de
ext4: use variables not types in sizeofs() for allocations

Precursor to changing some types; to keep things in sync, it
seems better to allocate/memset based on the size of the
variables we are using rather than on some disconnected
basic type like "unsigned short"

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
fs/ext4/mballoc.c