]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - misc/mke2fs.c
mke2fs, tune2fs, resize2fs: Use floating point to calculate percentages
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Jun 2008 23:58:29 +0000 (19:58 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 Jun 2008 01:08:49 +0000 (21:08 -0400)
commit9ff8ece57d46a9419fc60057547810824881bb45
treeb92629e7841efa0a27648855369591207bbab251
parentcc19b958602775ef48f347d16859ce6623a385da
mke2fs, tune2fs, resize2fs: Use floating point to calculate percentages

When calculating the number reserved blocks, use floating point for
better accuracy, since for big filesystems it really makes a
difference.  In addition, mke2fs and tune2fs accepts a floating point
number from the user, so they should provide that level of accuracy.

Addresses-Debian-Bug: #452639

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c
misc/tune2fs.c
resize/online.c
resize/resize2fs.c
tests/r_move_itable/expect
tests/r_resize_inode/expect