In original code, 'huge' type could not be selected because it
always be caught for 'big' type. Change the ordering.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
size_type = "floppy";
else if (fs_blocks_count < 512 * meg)
size_type = "small";
- else if (fs_blocks_count >= 4 * 1024 * 1024 * meg)
+ else if (fs_blocks_count < 4 * 1024 * 1024 * meg)
+ size_type = "default";
+ else if (fs_blocks_count < 16 * 1024 * 1024 * meg)
size_type = "big";
- else if (fs_blocks_count >= 16 * 1024 * 1024 * meg)
- size_type = "huge";
else
- size_type = "default";
+ size_type = "huge";
if (!usage_types)
usage_types = size_type;