Whamcloud - gitweb
e2fsck: Fix block allocation for holes in extent-mapped directories
authorTheodore Ts'o <tytso@mit.edu>
Sun, 29 Nov 2009 06:12:12 +0000 (01:12 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Nov 2009 06:12:12 +0000 (01:12 -0500)
commit3a6be7bc18f593789728fa9887bc74c9bf9d1930
treeccf4a1c898656f071d2b3ff2bb08b33914f69204
parent9c9e1d5fe507d08309e9815eee50ca73e21bd2bd
e2fsck: Fix block allocation for holes in extent-mapped directories

In pass 2, when allocating new blocks for holes in directories, use
ext2fs_set_bmap() instead of ext2fs_block_iterate2() with a helper
function so that the newly allocated directory blocks are correctly
assigned in extent-mapped directories.

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