Whamcloud - gitweb
libext2fs: fix regression in ext2fs_new_block2() for uninit_bg file systems
authorTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jun 2011 02:11:59 +0000 (22:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jun 2011 02:11:59 +0000 (22:11 -0400)
commit5f2e1a81d24ca2334547edd52690378d6eb763c7
treeb3fa37950fa5c96fc304eaf0c61ac66d9621fc5b
parent2d34a25f81d6868387c2b21e8d6d25291c1069db
libext2fs: fix regression in ext2fs_new_block2() for uninit_bg file systems

Commit b0ecb787ef introduced a bug in check_block_uninit(), which is
used by ext2fs_new_block2().  This bug resulted in the block bitmap
for the block group in question not having space reserved for the file
system metadata blocks.

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