summaryrefslogtreecommitdiffstats
path: root/sys/fs/udf
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-05-04 07:41:07 +0000
committerscottl <scottl@FreeBSD.org>2003-05-04 07:41:07 +0000
commit6308131b2535b8ac4647181c1a97bf46828be4e3 (patch)
tree1c542fa271debf4733440cb92ec5c461ae711c82 /sys/fs/udf
parenta8f90ab7cb1b27c25cfdd2a159cb5dd18ff879f5 (diff)
downloadFreeBSD-src-6308131b2535b8ac4647181c1a97bf46828be4e3.zip
FreeBSD-src-6308131b2535b8ac4647181c1a97bf46828be4e3.tar.gz
Eliminate the separate malloc type for the sparing table.
Diffstat (limited to 'sys/fs/udf')
-rw-r--r--sys/fs/udf/udf_vfsops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c
index 9ba75d4..e047d75 100644
--- a/sys/fs/udf/udf_vfsops.c
+++ b/sys/fs/udf/udf_vfsops.c
@@ -95,7 +95,6 @@
MALLOC_DEFINE(M_UDFMOUNT, "UDF mount", "UDF mount structure");
MALLOC_DEFINE(M_UDFFENTRY, "UDF fentry", "UDF file entry structure");
-MALLOC_DEFINE(M_UDFSTABLE, "UDF s_table", "UDF sparing table");
/* Zones */
uma_zone_t udf_zone_trans = NULL;
@@ -482,7 +481,7 @@ udf_unmount(struct mount *mp, int mntflags, struct thread *td)
vrele(udfmp->im_devvp);
if (udfmp->s_table != NULL)
- FREE(udfmp->s_table, M_UDFSTABLE);
+ FREE(udfmp->s_table, M_UDFMOUNT);
if (udfmp->hashtbl != NULL)
FREE(udfmp->hashtbl, M_UDFMOUNT);
@@ -729,7 +728,7 @@ udf_find_partmaps(struct udf_mnt *udfmp, struct logvol_desc *lvd)
pms = &pmap->pms;
MALLOC(udfmp->s_table, struct udf_sparing_table *, pms->st_size,
- M_UDFSTABLE, M_NOWAIT | M_ZERO);
+ M_UDFMOUNT, M_NOWAIT | M_ZERO);
if (udfmp->s_table == NULL)
return (ENOMEM);
OpenPOWER on IntegriCloud