Whamcloud - gitweb
libext2fs: require cluster size == block_size when opening a !bigalloc fs
authorTheodore Ts'o <tytso@mit.edu>
Sat, 4 Jun 2011 20:36:19 +0000 (16:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 4 Jun 2011 20:36:19 +0000 (16:36 -0400)
commit6220b6715f4900bbcfa04ef3b81ccf48b2d21825
treed1b54e242847a7566f1e02df8bfeed5da5c5322f
parent1e082c62093f34432af236f35764002646f1dcfc
libext2fs: require cluster size == block_size when opening a !bigalloc fs

In ext2fs_open() check to make sure the cluster size superblock field
is the same as the block size field when the bigalloc feature is not
set.  This is necessary since we will start introducing calculations
based on the cluster size field.

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