svn commit: r212231 - stable/8/sys/fs/devfs

Konstantin Belousov kib at FreeBSD.org
Sun Sep 5 14:35:27 UTC 2010


Author: kib
Date: Sun Sep  5 14:35:26 2010
New Revision: 212231
URL: http://svn.freebsd.org/changeset/base/212231

Log:
  MFC r210925:
  Enable shared lookups and externed shared ops for devfs.

Modified:
  stable/8/sys/fs/devfs/devfs_vfsops.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/fs/devfs/devfs_vfsops.c
==============================================================================
--- stable/8/sys/fs/devfs/devfs_vfsops.c	Sun Sep  5 14:31:58 2010	(r212230)
+++ stable/8/sys/fs/devfs/devfs_vfsops.c	Sun Sep  5 14:35:26 2010	(r212231)
@@ -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


More information about the svn-src-all mailing list