svn commit: r242833 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/cd9660 fs/devfs fs/ext2fs fs/fdescfs fs/fuse fs/msdosfs fs/nandfs fs/nfsclient fs/nullfs fs/pseudofs fs/tmpfs fs/udf...

Konstantin Belousov kostikbel at gmail.com
Fri Nov 9 18:11:11 UTC 2012


On Fri, Nov 09, 2012 at 06:02:26PM +0000, Attilio Rao wrote:
> Author: attilio
> Date: Fri Nov  9 18:02:25 2012
> New Revision: 242833
> URL: http://svnweb.freebsd.org/changeset/base/242833
> 
> Log:
>   Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag.
>   Porters should refer to __FreeBSD_version 1000021 for this change as
>   it may have happened at the same timeframe.
> 
> Modified: head/sys/fs/fuse/fuse_vfsops.c
> ==============================================================================
> --- head/sys/fs/fuse/fuse_vfsops.c	Fri Nov  9 17:56:49 2012	(r242832)
> +++ head/sys/fs/fuse/fuse_vfsops.c	Fri Nov  9 18:02:25 2012	(r242833)
> @@ -339,7 +339,6 @@ fuse_vfsop_mount(struct mount *mp)
>  
>  	vfs_getnewfsid(mp);
>  	mp->mnt_flag |= MNT_LOCAL;
> -	mp->mnt_kern_flag |= MNTK_MPSAFE;
>  	if (subtype) {
>  		strlcat(mp->mnt_stat.f_fstypename, ".", MFSNAMELEN);
>  		strlcat(mp->mnt_stat.f_fstypename, subtype, MFSNAMELEN);

mnt_flag update should happen under the mount interlock.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20121109/8508308e/attachment.sig>


More information about the svn-src-all mailing list