Whamcloud - gitweb
libext2fs: add 32-bit compat code for ext2fs_find_first_zero_generic_bmap()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 6 Apr 2012 18:44:54 +0000 (11:44 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 9 Apr 2012 18:29:13 +0000 (14:29 -0400)
commit664c332612a0ef86df5c67286155ea895ed88ee3
treeb27dc1ddb4edbae88a5a0dbf72171ea7b821b9dc
parent8f92c4a2ffd342b518c3101074fe00e16b5740d0
libext2fs: add 32-bit compat code for ext2fs_find_first_zero_generic_bmap()

The lack of 32-bit support was causing febootstrap to crash since it
wasn't passing EXT2_FLAG_64BITS when opening the file system, so we
were still using the legacy bitmaps.

Also add support for bigalloc bitmap into the ffz functions.

Addresses-Red-Hat-Bugzilla: #808421

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/ext2fs.h
lib/ext2fs/gen_bitmap.c
lib/ext2fs/gen_bitmap64.c