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)
commit393d7a62eb945bd2bfff7e6b698d74588da0c1f2
treecfbcc86fbce071b89c51d9d55de8fe39876c79cf
parent8692066f34cac419f1d9baa4397aa2e1959adde5
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