Whamcloud - gitweb
e2fsck: Wire up callback functions for _alloc_block() and _block_alloc_stats()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 2 Jun 2008 21:27:59 +0000 (17:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 2 Jun 2008 22:52:12 +0000 (18:52 -0400)
commit16bd349e1f9e24e5c936a409953264b09b1231db
tree9b6004d23cab1b7eb03fb1edc080f9cb03fd64c7
parentf5c562e2324a8950d659ebfc8db4356121d6104e
e2fsck: Wire up callback functions for _alloc_block() and _block_alloc_stats()

Wire up callback functions for ext2fs_alloc_block() and
ext2fs_block_alloc_stats() so that we use the ctx->block_found_map
block bitmap to determine which new block we should allocate, and then
to update the block_found_map bitmap if the extent functions need to
allocate or release blocks.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/pass1.c