Whamcloud - gitweb
libext2fs: change EXT2_MAX_BLOCKS_PER_GROUP() to be cluster size aware
authorTheodore Ts'o <tytso@mit.edu>
Sat, 4 Jun 2011 20:40:26 +0000 (16:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 4 Jun 2011 20:40:26 +0000 (16:40 -0400)
commitae9e37cd114385764864518057ff854b3f335440
tree893191c38ae191fea34c41b5cbc45e8c71cb9669
parent6220b6715f4900bbcfa04ef3b81ccf48b2d21825
libext2fs: change EXT2_MAX_BLOCKS_PER_GROUP() to be cluster size aware

Change the EXT2_MAX_BLOCKS_PER_GROUP so that it takes the cluster size
into account.  This way we can open bigalloc file systems without
ext2fs_open() thinking that they are corrupt.

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