Age | Commit message (Collapse) | Author |
|
* ext2fs/bitmap.c (find_next_zero_bit): Check whether TMP has a bit set before
calling ffz.
|
|
* bitmap.c (ffz): Subtract one from (1-origin) result of ffs to get
our (0-origin) result.
* Makefile (LCLHDRS): bitmap.h -> bitmap.c
|
|
* bitmap.c (ffz): Don't subtract one (duh).
|
|
* bitmap.c (count_free, find_next_zero_bit, find_first_zero_bit):
Make these all static inline.
(ffz, ffz_nibble_map): Function and variable removed.
(ffz): Replace decl with macro defined in terms of ffs.
* ext2fs.h (count_free, find_next_zero_bit, find_first_zero_bit, ffz):
Remove these declarations.
* Makefile (SRCS): Remove bitmap.c.
(LCLHDRS): Add bitmap.c here instead.
* balloc.c, ialloc.c: #include "bitmap.c" here.
|
|
* bitmap.c (memscan): Function removed.
* ext2fs.h: Removed its decl.
* balloc.c (memscan): New static function, defined using memchr.
|
|
I copied this function from!) which were causing occasional garbage results.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|