From f0147e0a46fdb91ec6d1036defeba6ecfbb2bdca Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 28 Feb 2010 17:19:22 +0000 Subject: [PATCH] Mark msdosfs as mpsafe. Tested by: pho MFC after: 3 weeks --- sys/fs/msdosfs/msdosfs_vfsops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index 182fa36f0aef..3cecd730e2b8 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -752,6 +752,7 @@ mountmsdosfs(struct vnode *devvp, struct mount *mp) mp->mnt_stat.f_fsid.val[1] = mp->mnt_vfc->vfc_typenum; MNT_ILOCK(mp); mp->mnt_flag |= MNT_LOCAL; + mp->mnt_kern_flag |= MNTK_MPSAFE; MNT_IUNLOCK(mp); if (pmp->pm_flags & MSDOSFS_LARGEFS)