diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-02-24 22:32:47 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-02-24 22:32:47 +0000 |
commit | f1a3285ed63083a5d7d7103171127ddc29826210 (patch) | |
tree | 4428866022cbdb3defe4315b3265875f739d5569 /sys/miscfs/union/union_vfsops.c | |
parent | 805cfa0f4d2d7efac161ed2d95258737ba4e5482 (diff) |
use M_MISCFSMNT instead of M_UFSMNT for mount data
ok art@
Diffstat (limited to 'sys/miscfs/union/union_vfsops.c')
-rw-r--r-- | sys/miscfs/union/union_vfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/union/union_vfsops.c b/sys/miscfs/union/union_vfsops.c index 8eebf602fe4..f7cfe1789cf 100644 --- a/sys/miscfs/union/union_vfsops.c +++ b/sys/miscfs/union/union_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: union_vfsops.c,v 1.13 2002/03/14 01:27:08 millert Exp $ */ +/* $OpenBSD: union_vfsops.c,v 1.14 2003/02/24 22:32:46 tedu Exp $ */ /* $NetBSD: union_vfsops.c,v 1.10 1995/06/18 14:47:47 cgd Exp $ */ /* @@ -133,7 +133,7 @@ union_mount(mp, path, data, ndp, p) } um = (struct union_mount *) malloc(sizeof(struct union_mount), - M_UFSMNT, M_WAITOK); /* XXX */ + M_MISCFSMNT, M_WAITOK); /* * Keep a held reference to the target vnodes. @@ -247,7 +247,7 @@ union_mount(mp, path, data, ndp, p) bad: if (um) - free(um, M_UFSMNT); + free(um, M_MISCFSMNT); if (cred) crfree(cred); if (upperrootvp) @@ -361,7 +361,7 @@ union_unmount(mp, mntflags, p) /* * Finally, throw away the union_mount structure */ - free(mp->mnt_data, M_UFSMNT); /* XXX */ + free(mp->mnt_data, M_MISCFSMNT); mp->mnt_data = 0; return (0); } |