Comment out ext2_find_first_bit_set and ext2fs_find_next_bit_set

since we're not using them.
bitmap-optimize
Theodore Ts'o 2001-07-20 12:33:37 -04:00
parent da376f5a13
commit 6ae296e734
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-07-20 Theodore Tso <tytso@valinux.com>
* bitops.h (ext2fs_find_first_bit_set, ext2fs_find_next_bit_set):
Comment out these functions since we're not using them.
2001-07-10 Theodore Tso <tytso@valinux.com>
* closefs.c (write_primary_superblock): After writing changes to

View File

@ -157,6 +157,7 @@ _INLINE_ int ext2fs_test_bit(int nr, const void * addr)
return oldbit;
}
#if 0
_INLINE_ int ext2fs_find_first_bit_set(void * addr, unsigned size)
{
int d0, d1, d2;
@ -208,6 +209,7 @@ _INLINE_ int ext2fs_find_next_bit_set (void * addr, int size, int offset)
res = ext2fs_find_first_bit_set(p, size - 32 * (p - (unsigned long *) addr));
return (offset + set + res);
}
#endif
#ifdef EXT2FS_ENABLE_SWAPFS
_INLINE_ __u32 ext2fs_swab32(__u32 val)