Whamcloud - gitweb
e2fsck: detect holes in extent-mapped directories
authorTheodore Ts'o <tytso@mit.edu>
Sun, 29 Nov 2009 05:06:10 +0000 (00:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Nov 2009 06:03:04 +0000 (01:03 -0500)
commit4607ef7d53304c00f6259ab671e597d5493b9786
tree700cc7bd8d5ff409d5d82c6ced672a5d15197f36
parentca92d98f0afa6e79dff672923b96cbc2274449be
e2fsck: detect holes in extent-mapped directories

Directories are not allowed to be sparse; the code for scanning
extent-mapped directories was not calling ext2fs_add_dir_block() for
missing directory blocks, so we weren't catching this form of file
system corruption.  Fix this.

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