svn commit: r302990 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Andriy Gapon avg at FreeBSD.org
Mon Jul 18 06:47:10 UTC 2016


Author: avg
Date: Mon Jul 18 06:47:08 2016
New Revision: 302990
URL: https://svnweb.freebsd.org/changeset/base/302990

Log:
  MFC r302772: re-apply r299908: zfsctl_snapdir_lookup: clear VV_ROOT of
  snapshot's root

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c	Mon Jul 18 06:46:49 2016	(r302989)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c	Mon Jul 18 06:47:08 2016	(r302990)
@@ -1125,6 +1125,7 @@ domount:
 		 */
 		ASSERT(VTOZ(*vpp)->z_zfsvfs != zfsvfs);
 		VTOZ(*vpp)->z_zfsvfs->z_parent = zfsvfs;
+		(*vpp)->v_flag &= ~VROOT;
 	}
 	ZFS_EXIT(zfsvfs);
 


More information about the svn-src-stable-9 mailing list