Whamcloud - gitweb
mke2fs: enforce that the cluster size must be greater that the block size
authorTheodore Ts'o <tytso@mit.edu>
Mon, 14 Jan 2013 22:28:00 +0000 (17:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 15 Jan 2013 19:03:53 +0000 (14:03 -0500)
commit4b20ea2691b3408340036d16e62867d5c52078e3
treef03a479d36eb1cba32662ef88398c7a7a465d772
parent9cf69bb825c2995352502f48ea64d1be1d263995
mke2fs: enforce that the cluster size must be greater that the block size

In addition, do not allow a cluster size of 1024, since that will be
interpreted by ext2fs_initialize() as requesting the default cluster
size.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Reported-by: Zheng Liu <wenqing.lz@taobao.com>
misc/mke2fs.c