ext4: Change unsigned long to unsigned int
authorTheodore Ts'o <tytso@mit.edu>
Wed, 5 Nov 2008 05:14:04 +0000 (00:14 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 5 Nov 2008 05:14:04 +0000 (00:14 -0500)
commit498e5f24158da7bf8fa48074a70e370e22844492
tree1434b349c8eca3b0667af0b385533cbcd599c1c3
parenta9df9a49102f3578909cba7bd33784eb3b9caaa4
ext4: Change unsigned long to unsigned int

Convert the unsigned longs that are most responsible for bloating the
stack usage on 64-bit systems.

Nearly all places in the ext3/4 code which uses "unsigned long" is
probably a bug, since on 32-bit systems a ulong a 32-bits, which means
we are wasting stack space on 64-bit systems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/balloc.c
fs/ext4/bitmap.c
fs/ext4/dir.c
fs/ext4/ext4.h
fs/ext4/ext4_i.h
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/mballoc.c
fs/ext4/namei.c