[git commit master] clarify in comment

Denys Vlasenko vda.linux at googlemail.com
Tue Oct 20 15:49:50 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=a4e4a654846dfc4c1b4b080ad850b223da1a886c
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 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 f3359c5..3f4f5c6 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)
 		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;
-- 
1.6.3.3



More information about the busybox-cvs mailing list