Module Name:    src
Committed By:   reinoud
Date:           Fri Feb 26 09:57:39 UTC 2010

Modified Files:
        src/sys/fs/udf: udf_allocation.c

Log Message:
Typo and style


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/fs/udf/udf_allocation.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/udf/udf_allocation.c
diff -u src/sys/fs/udf/udf_allocation.c:1.28 src/sys/fs/udf/udf_allocation.c:1.29
--- src/sys/fs/udf/udf_allocation.c:1.28	Thu Feb 25 16:15:57 2010
+++ src/sys/fs/udf/udf_allocation.c	Fri Feb 26 09:57:39 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_allocation.c,v 1.28 2010/02/25 16:15:57 reinoud Exp $ */
+/* $NetBSD: udf_allocation.c,v 1.29 2010/02/26 09:57:39 reinoud Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.28 2010/02/25 16:15:57 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.29 2010/02/26 09:57:39 reinoud Exp $");
 #endif /* not lint */
 
 
@@ -1499,7 +1499,7 @@
 	DPRINTF(RESERVE, ("\tfree space on metadata partition %"PRIu64" blks\n", meta_free_lbs));
 
 	/* give away some of the free meta space, in unit block sizes */
-	to_trunc = meta_free_lbs/4;			/* give out a quart */
+	to_trunc = meta_free_lbs/4;			/* give out a quarter */
 	to_trunc = MAX(to_trunc, num_lb);
 	to_trunc = unit * ((to_trunc + unit-1) / unit);	/* round up */
 
@@ -1534,7 +1534,6 @@
 	sbd->num_bytes = udf_rw32(sbd->num_bytes) - to_trunc/8;
 	bitmap->max_offset = udf_rw32(sbd->num_bits);
 
-
 	num_vpart = udf_rw32(lvid->num_part);
 	freepos = &lvid->tables[0] + meta_vpart_num;
 	sizepos = &lvid->tables[0] + num_vpart + meta_vpart_num;

Reply via email to