Whamcloud - gitweb
libext2fs: 32-bit bitmap refactorization, part 1
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jul 2007 02:59:50 +0000 (22:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jul 2007 02:59:50 +0000 (22:59 -0400)
commita0553c9d6e8dd6f538f18ae447c45e52f3c40eb6
tree75745de37d3a6db7a9bf8b56d11d7b7bc0b9e345
parent271a375b596240866b4a2967e3b6f38ff7cecdf8
libext2fs: 32-bit bitmap refactorization, part 1

Move the 32-bit specific bitmap code into gen_bitmap.c, and the
high-level interfaces into bitmaps.c.  Eventually we'll move the
new-style bitmap code into gen_bitmap64.c, but first we need to
isolate the code with knowledge of the bitmap internals in one place
first.

In this patch we move allocation, free, copy, clear, set_padding, and
fudge_end function into gen_bitmap.c, and make sure that the bitmaps.c
and bitops.c no longer have any knowledge of the bitmap internals.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/Makefile.in
lib/ext2fs/bitmaps.c
lib/ext2fs/bitops.c
lib/ext2fs/ext2fs.h
lib/ext2fs/freefs.c
lib/ext2fs/gen_bitmap.c