Unify naming scheme and source code beautify for better readablility.

This commit is contained in:
reinoud 2008-07-27 11:21:21 +00:00
parent 01c0b5bf89
commit 5c3627bcdf
2 changed files with 13 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf.h,v 1.22 2008/07/26 20:49:33 reinoud Exp $ */
/* $NetBSD: udf.h,v 1.23 2008/07/27 11:21:21 reinoud Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -328,7 +328,8 @@ struct udf_mount {
struct udf_node *metadata_node; /* system node */
struct udf_node *metadatamirror_node; /* system node */
struct udf_node *metadatabitmap_node; /* system node */
struct udf_bitmap metadata_bitmap; /* TODO : readin */
struct space_bitmap_desc*metadata_unalloc_dscr; /* TODO : readin */
struct udf_bitmap metadata_unalloc_bits; /* TODO : setup */
/* hash table to lookup icb -> udf_node and sorted list for sync */
kmutex_t ihash_lock;

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_vfsops.c,v 1.44 2008/07/26 20:52:04 reinoud Exp $ */
/* $NetBSD: udf_vfsops.c,v 1.45 2008/07/27 11:21:21 reinoud Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_vfsops.c,v 1.44 2008/07/26 20:52:04 reinoud Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_vfsops.c,v 1.45 2008/07/27 11:21:21 reinoud Exp $");
#endif /* not lint */
@ -295,17 +295,18 @@ free_udf_mountinfo(struct mount *mp)
MPFREE(ump->implementation, M_UDFVOLD);
MPFREE(ump->logvol_integrity, M_UDFVOLD);
for (i = 0; i < UDF_PARTITIONS; i++) {
MPFREE(ump->partitions[i], M_UDFVOLD);
MPFREE(ump->partitions[i], M_UDFVOLD);
MPFREE(ump->part_unalloc_dscr[i], M_UDFVOLD);
MPFREE(ump->part_freed_dscr[i], M_UDFVOLD);
MPFREE(ump->part_freed_dscr[i], M_UDFVOLD);
}
MPFREE(ump->fileset_desc, M_UDFVOLD);
MPFREE(ump->sparing_table, M_UDFVOLD);
MPFREE(ump->metadata_bitmap.bits, M_UDFVOLD);
MPFREE(ump->metadata_unalloc_dscr, M_UDFVOLD);
MPFREE(ump->fileset_desc, M_UDFVOLD);
MPFREE(ump->sparing_table, M_UDFVOLD);
MPFREE(ump->la_node_ad_cpy, M_UDFMNT);
MPFREE(ump->la_pmapping, M_TEMP);
MPFREE(ump->la_lmapping, M_TEMP);
MPFREE(ump->la_pmapping, M_TEMP);
MPFREE(ump->la_lmapping, M_TEMP);
mutex_destroy(&ump->ihash_lock);
mutex_destroy(&ump->get_node_lock);