From cd360e947b31dfd43af0b29606bb77355571698b Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Sat, 30 Apr 2005 11:24:17 +0000 Subject: [PATCH] - Mark devfs as MNTK_MPSAFE as I belive it does not require Giant. Sponsored by: Isilon Systems, Inc. Agreed in principle by: phk --- sys/fs/devfs/devfs_vfsops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c index b93f123f39a..7bf4190caa9 100644 --- a/sys/fs/devfs/devfs_vfsops.c +++ b/sys/fs/devfs/devfs_vfsops.c @@ -79,6 +79,7 @@ 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