Author: avg
Date: Tue Feb 27 14:50:19 2018
New Revision: 330070
URL: https://svnweb.freebsd.org/changeset/base/330070

Log:
  MFC r329556,r329820 remove an assert in zfsctl_snapdir_lookup to match r323578

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

Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c       
Tue Feb 27 14:47:56 2018        (r330069)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c       
Tue Feb 27 14:50:19 2018        (r330070)
@@ -886,13 +886,6 @@ zfsctl_snapdir_lookup(ap)
                        break;
 
                /*
-                * The vnode must be referenced at least by this thread and
-                * the mount point or the thread doing the mounting.
-                * There can be more references from concurrent lookups.
-                */
-               KASSERT(vrefcnt(*vpp) > 1, ("found unreferenced mountpoint"));
-
-               /*
                 * Check if a snapshot is already mounted on top of the vnode.
                 */
                err = zfsctl_mounted_here(vpp, lkflags);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to