OSDN Git Service

ext2fs_zero_blocks: Avoid clearing more blocks than requested
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Jun 2008 04:18:58 +0000 (00:18 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 17 Jun 2008 05:14:30 +0000 (01:14 -0400)
commitbc507e31ad8a890232dc2b3aec9ee9d68e95622a
tree81a065cfb1c7abd2a4e7f0cfe61b78a680aeb232
parent74128f8d7e93fe633aa87951319a4afd252a4494
ext2fs_zero_blocks: Avoid clearing more blocks than requested

This could cause certain mke2fs feature combinations to result in the
initial blocks of the inode table getting wiped out when the journal
is created.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/mkjournal.c