clarify in comment
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 20 Oct 2009 15:49:50 +0000 (17:49 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 20 Oct 2009 15:49:50 +0000 (17:49 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mkfs_ext2.c

index f3359c5fab085f059cd0c80f16d350cc72b409b0..3f4f5c6e3001cc8ff165708ad20e77e030641c44 100644 (file)
@@ -332,9 +332,10 @@ int mkfs_ext2_main(int argc UNUSED_PARAM, char **argv)
                if ((1 == ngroups) && remainder && (remainder < overhead))
                        bb_error_msg_and_die("way small device");
                // Standard mke2fs uses 50. Looks like a bug in our calculation
-               // of "remainder" or "overhead" - we dont match standard mke2fs
-               // when we transition from one group to two groups (a bit after 8M
-               // image size) and for two->three groups transition (at 16M) too.
+               // of "remainder" or "overhead" - we don't match standard mke2fs
+               // when we transition from one group to two groups
+               // (a bit after 8M image size), but it works for two->three groups
+               // transition (at 16M).
                if (remainder && (remainder < overhead + 50)) {
 //bb_info_msg("CHOP[%u]", remainder);
                        nblocks -= remainder;