summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-12-26 16:01:34 +0000
committerad <ad@NetBSD.org>2007-12-26 16:01:34 +0000
commitea3f10f7e0bbec1b91020f8a5f122d418ab2fbcc (patch)
tree76b2e7de3e201fd39b888fe4985745e3d166aad8 /sys/miscfs
parent890b62431b0627bd148b755191009d3d0b9ca813 (diff)
Merge more changes from vmlocking2, mainly:
- Locking improvements. - Use pool_cache for more items.
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/procfs/procfs_vfsops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c
index 1d5cb106285..dd515c2dca8 100644
--- a/sys/miscfs/procfs/procfs_vfsops.c
+++ b/sys/miscfs/procfs/procfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_vfsops.c,v 1.75 2007/11/26 19:02:16 pooka Exp $ */
+/* $NetBSD: procfs_vfsops.c,v 1.76 2007/12/26 16:01:37 ad Exp $ */
/*
* Copyright (c) 1993
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.75 2007/11/26 19:02:16 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.76 2007/12/26 16:01:37 ad Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -161,6 +161,7 @@ procfs_mount(
else
pmnt->pmnt_flags = 0;
+ mp->mnt_iflag |= IMNT_MPSAFE;
return error;
}