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/procfs | |
parent | 805cfa0f4d2d7efac161ed2d95258737ba4e5482 (diff) |
use M_MISCFSMNT instead of M_UFSMNT for mount data
ok art@
Diffstat (limited to 'sys/miscfs/procfs')
-rw-r--r-- | sys/miscfs/procfs/procfs_vfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c index 3db5f2589ca..5241565868e 100644 --- a/sys/miscfs/procfs/procfs_vfsops.c +++ b/sys/miscfs/procfs/procfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_vfsops.c,v 1.18 2003/01/31 20:41:29 art Exp $ */ +/* $OpenBSD: procfs_vfsops.c,v 1.19 2003/02/24 22:32:46 tedu Exp $ */ /* $NetBSD: procfs_vfsops.c,v 1.25 1996/02/09 22:40:53 christos Exp $ */ /* @@ -104,7 +104,7 @@ procfs_mount(mp, path, data, ndp, p) mp->mnt_flag |= MNT_LOCAL; pmnt = (struct procfsmount *) malloc(sizeof(struct procfsmount), - M_UFSMNT, M_WAITOK); /* XXX need new malloc type */ + M_MISCFSMNT, M_WAITOK); mp->mnt_data = (qaddr_t)pmnt; vfs_getnewfsid(mp); @@ -145,7 +145,7 @@ procfs_unmount(mp, mntflags, p) if ((error = vflush(mp, 0, flags)) != 0) return (error); - free(VFSTOPROC(mp), M_UFSMNT); + free(VFSTOPROC(mp), M_MISCFSMNT); mp->mnt_data = 0; return (0); |