Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/udf Typo and style
details: https://anonhg.NetBSD.org/src/rev/c2db972a3844
branches: trunk
changeset: 752454:c2db972a3844
user: reinoud <reinoud%NetBSD.org@localhost>
date: Fri Feb 26 09:57:39 2010 +0000
description:
Typo and style
diffstat:
sys/fs/udf/udf_allocation.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 555d743e7fba -r c2db972a3844 sys/fs/udf/udf_allocation.c
--- a/sys/fs/udf/udf_allocation.c Fri Feb 26 09:35:08 2010 +0000
+++ b/sys/fs/udf/udf_allocation.c Fri Feb 26 09:57:39 2010 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index