mkfs_ext2: fixes for huge filesystems

function                                             old     new   delta
mkfs_ext2_main                                      2145    2617    +472
div_roundup                                           15      35     +20
packed_usage                                       26792   26776     -16

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-10-18 18:05:27 +02:00
parent 77da1cae94
commit f9d3a91a89
2 changed files with 44 additions and 24 deletions

View file

@ -2724,7 +2724,7 @@
"[-L LABEL] " \
"[-n] " \
/* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \
"DEVICE [BLK_COUNT]"
"DEVICE [KBYTES]"
#define mkfs_ext2_full_usage "\n" \
"\n -b BLK_SIZE Block size in bytes" \
/* "\n -c Check for bad blocks before creating" */ \