diff options
author | avg <avg@FreeBSD.org> | 2016-07-18 06:46:49 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2016-07-18 06:46:49 +0000 |
commit | 1c92d00206c4e71947c43a056158902e687f79bc (patch) | |
tree | 0289eff78e8b09183eda1d569090b99ddcd61ea4 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c | |
parent | 8a82654af3aa5b65efa78b88f4ad933019153887 (diff) | |
download | FreeBSD-src-1c92d00206c4e71947c43a056158902e687f79bc.zip FreeBSD-src-1c92d00206c4e71947c43a056158902e687f79bc.tar.gz |
MFC r302772: re-apply r299908: zfsctl_snapdir_lookup: clear VV_ROOT of
snapshot's root
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c index af2adfd..cbafa03 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c @@ -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); |