diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-20 17:49:50 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-20 17:49:50 +0200 |
commit | a4e4a654846dfc4c1b4b080ad850b223da1a886c (patch) | |
tree | 8c1c1376dd028cff800e8ab1013537734d1e46ad | |
parent | c708a6d000fb26d17773dfdf0bee96d433f18b08 (diff) | |
download | busybox-w32-a4e4a654846dfc4c1b4b080ad850b223da1a886c.tar.gz busybox-w32-a4e4a654846dfc4c1b4b080ad850b223da1a886c.tar.bz2 busybox-w32-a4e4a654846dfc4c1b4b080ad850b223da1a886c.zip |
clarify in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/mkfs_ext2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index f3359c5fa..3f4f5c6e3 100644 --- a/util-linux/mkfs_ext2.c +++ b/util-linux/mkfs_ext2.c | |||
@@ -332,9 +332,10 @@ int mkfs_ext2_main(int argc UNUSED_PARAM, char **argv) | |||
332 | if ((1 == ngroups) && remainder && (remainder < overhead)) | 332 | if ((1 == ngroups) && remainder && (remainder < overhead)) |
333 | bb_error_msg_and_die("way small device"); | 333 | bb_error_msg_and_die("way small device"); |
334 | // Standard mke2fs uses 50. Looks like a bug in our calculation | 334 | // Standard mke2fs uses 50. Looks like a bug in our calculation |
335 | // of "remainder" or "overhead" - we dont match standard mke2fs | 335 | // of "remainder" or "overhead" - we don't match standard mke2fs |
336 | // when we transition from one group to two groups (a bit after 8M | 336 | // when we transition from one group to two groups |
337 | // image size) and for two->three groups transition (at 16M) too. | 337 | // (a bit after 8M image size), but it works for two->three groups |
338 | // transition (at 16M). | ||
338 | if (remainder && (remainder < overhead + 50)) { | 339 | if (remainder && (remainder < overhead + 50)) { |
339 | //bb_info_msg("CHOP[%u]", remainder); | 340 | //bb_info_msg("CHOP[%u]", remainder); |
340 | nblocks -= remainder; | 341 | nblocks -= remainder; |