ext4: ext4_find_next_zero_bit needs an aligned address on some arch
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 23 Feb 2008 06:38:34 +0000 (01:38 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 23 Feb 2008 06:38:34 +0000 (01:38 -0500)
commitffad0a44b7216d0f079dcf95a351082099d1e5fb
treecfbcc86fbce071b89c51d9d55de8fe39876c79cf
parent42bf0383d1e09dd1b38f3debb13a76b2f87634b3
ext4: ext4_find_next_zero_bit needs an aligned address on some arch

ext4_find_next_zero_bit and ext4_find_next_bit needs a long aligned
address on x8_64. Add mb_find_next_zero_bit and mb_find_next_bit
and use them in the mballoc.

Fix: https://bugzilla.redhat.com/show_bug.cgi?id=433286

Eric Sandeen debugged the problem and suggested the fix.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c