Author: mav
Date: Thu Aug  2 23:50:03 2018
New Revision: 337207
URL: https://svnweb.freebsd.org/changeset/base/337207

Log:
  MFV r337206: 9338 moved dnode has incorrect dn_next_type
  
  illumos/illumos-gate@c7fbe46df966ea665df63b6e6071808987e839d1
  
  Reviewed by: Prashanth Sreenivasa <p...@delphix.com>
  Reviewed by: Serapheim Dimitropoulos <serapheim.dimi...@delphix.com>
  Reviewed by: Dan Kimmel <dan.kim...@delphix.com>
  Approved by: Robert Mustacchi <r...@joyent.com>
  Author:     Matthew Ahrens <mahr...@delphix.com>

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c
Directory Properties:
  head/sys/cddl/contrib/opensolaris/   (props changed)

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c Thu Aug  2 
23:48:19 2018        (r337206)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c Thu Aug  2 
23:50:03 2018        (r337207)
@@ -742,6 +742,8 @@ dnode_move_impl(dnode_t *odn, dnode_t *ndn)
        ndn->dn_datablkszsec = odn->dn_datablkszsec;
        ndn->dn_datablksz = odn->dn_datablksz;
        ndn->dn_maxblkid = odn->dn_maxblkid;
+       bcopy(&odn->dn_next_type[0], &ndn->dn_next_type[0],
+           sizeof (odn->dn_next_type));
        bcopy(&odn->dn_next_nblkptr[0], &ndn->dn_next_nblkptr[0],
            sizeof (odn->dn_next_nblkptr));
        bcopy(&odn->dn_next_nlevels[0], &ndn->dn_next_nlevels[0],
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to