Enable shared lookups and externed shared ops for devfs.

In collaboration with:	pho
MFC after:	1 month
This commit is contained in:
Konstantin Belousov 2010-08-06 09:46:53 +00:00
parent 6c5e633cd6
commit d3c5a40780

View File

@ -81,7 +81,8 @@ devfs_mount(struct mount *mp)
MNT_ILOCK(mp);
mp->mnt_flag |= MNT_LOCAL;
mp->mnt_kern_flag |= MNTK_MPSAFE;
mp->mnt_kern_flag |= MNTK_MPSAFE | MNTK_LOOKUP_SHARED |
MNTK_EXTENDED_SHARED;
#ifdef MAC
mp->mnt_flag |= MNT_MULTILABEL;
#endif