summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-07-29 23:00:56 +0000
committerkris <kris@FreeBSD.org>2005-07-29 23:00:56 +0000
commit509594693ef28516f1629eb4c97a83491b019050 (patch)
tree94ba5593f25df6b19aaf379426242cf2e368780d /sys/fs/devfs
parentfa1de9870bdf50aef5fa401717898970ed005d15 (diff)
downloadFreeBSD-src-509594693ef28516f1629eb4c97a83491b019050.zip
FreeBSD-src-509594693ef28516f1629eb4c97a83491b019050.tar.gz
devfs is not yet fully MPSAFE - for example, multiple concurrent devfs(8)
processes can cause a panic when operating on rulesets. Approved by: phk
Diffstat (limited to 'sys/fs/devfs')
-rw-r--r--sys/fs/devfs/devfs_vfsops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c
index 7bf4190..b93f123 100644
--- a/sys/fs/devfs/devfs_vfsops.c
+++ b/sys/fs/devfs/devfs_vfsops.c
@@ -79,7 +79,6 @@ devfs_mount(struct mount *mp, struct thread *td)
lockinit(&fmp->dm_lock, PVFS, "devfs", 0, 0);
mp->mnt_flag |= MNT_LOCAL;
- mp->mnt_kern_flag |= MNTK_MPSAFE;
#ifdef MAC
mp->mnt_flag |= MNT_MULTILABEL;
#endif
OpenPOWER on IntegriCloud