AVR32: Fix thinko in generic_find_next_zero_le_bit()
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 31 Oct 2006 19:01:11 +0000 (20:01 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 6 Nov 2006 09:43:24 +0000 (10:43 +0100)
The existing implementation of this function seems to be looking for
a one although it should be looking for a zero. This causes trouble
for the ext2 filesystem, which tends to report -ENOSPC without this
patch.

Fix this by complementing each word before scanning.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>

No differences found