]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0feea573e98f2a69549d266bca03e86fca8ff52a
treeb5549d33960ef312efc3b8f54c78268a3e4f74dd
parent755abfba472b3f89d42aaf5c0682529ec59e599b
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