Whamcloud - gitweb
mke2fs: add get_uint_from_profile to mke2fs.c
authorAkira Fujita <a-fujita@rs.jp.nec.com>
Sun, 6 Jul 2014 02:34:07 +0000 (22:34 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 6 Jul 2014 02:34:54 +0000 (22:34 -0400)
commitd0de4c95404bf12f70ff0ab01bd8497c5de60c6e
tree01d4da80a3da058687af4f08a473b153d56845be
parenta131053ef05e2c4dd3c9a2880fc61423dac39eb1
mke2fs: add get_uint_from_profile to mke2fs.c

We can set flex_bg count only up to 2^30 with profile
because get_int_from_profile can handle it to 2^31-1.
Add get_uint_from_profile to read unsigned int value
so that mke2fs with profile can handle up to 2^31 flex_bg same as -G option.

Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c