devfs: use MNTK_NOMSYNC

Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D22009
This commit is contained in:
mjg 2019-10-13 15:41:47 +00:00
parent 5b51c4fad1
commit 431c8fcde9

View File

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