diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-30 11:24:17 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-30 11:24:17 +0000 |
commit | 53caed435d543708b0da5bef97218714fddf1f4f (patch) | |
tree | 97f08bef20b5369dbbb8b0a6d4ab88728d12e928 /sys/fs | |
parent | 7354fc5e28617865d36977353eed2a1cca71ad54 (diff) | |
download | FreeBSD-src-53caed435d543708b0da5bef97218714fddf1f4f.zip FreeBSD-src-53caed435d543708b0da5bef97218714fddf1f4f.tar.gz |
- Mark devfs as MNTK_MPSAFE as I belive it does not require Giant.
Sponsored by: Isilon Systems, Inc.
Agreed in principle by: phk
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/devfs/devfs_vfsops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c index b93f123..7bf4190 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 |