diff options
author | Theodore Ts'o <tytso@mit.edu> | 2007-07-22 22:59:50 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-07-22 22:59:50 -0400 |
commit | a0553c9d6e8dd6f538f18ae447c45e52f3c40eb6 (patch) | |
tree | 75745de37d3a6db7a9bf8b56d11d7b7bc0b9e345 /lib/ext2fs/bitops.c | |
parent | 271a375b596240866b4a2967e3b6f38ff7cecdf8 (diff) | |
download | e2fsprogs-a0553c9d6e8dd6f538f18ae447c45e52f3c40eb6.tar.gz |
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>
Diffstat (limited to 'lib/ext2fs/bitops.c')
-rw-r--r-- | lib/ext2fs/bitops.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/ext2fs/bitops.c b/lib/ext2fs/bitops.c index 78632c62..9c348474 100644 --- a/lib/ext2fs/bitops.c +++ b/lib/ext2fs/bitops.c @@ -76,16 +76,3 @@ void ext2fs_warn_bitmap(errcode_t errcode, unsigned long arg, com_err(0, errcode, "#%lu", arg); #endif } - -void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap, - int code, unsigned long arg) -{ -#ifndef OMIT_COM_ERR - if (bitmap->description) - com_err(0, bitmap->base_error_code+code, - "#%lu for %s", arg, bitmap->description); - else - com_err(0, bitmap->base_error_code + code, "#%lu", arg); -#endif -} - |