aboutsummaryrefslogtreecommitdiffstats
path: root/uts
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2018-08-02 23:48:19 +0000
committerAlexander Motin <mav@FreeBSD.org>2018-08-02 23:48:19 +0000
commit0fbbaabd0e133467ddf04a9c2eb332e8c02f4b82 (patch)
treee945b9b194c32ab428f26169f72af496963739e7 /uts
parent1bcb271c93e2b677cb7797cd03b424c5abde1692 (diff)
downloadsrc-0fbbaabd0e133467ddf04a9c2eb332e8c02f4b82.tar.gz
src-0fbbaabd0e133467ddf04a9c2eb332e8c02f4b82.zip
9338 moved dnode has incorrect dn_next_type
illumos/illumos-gate@c7fbe46df966ea665df63b6e6071808987e839d1 Reviewed by: Prashanth Sreenivasa <pks@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: Matthew Ahrens <mahrens@delphix.com>
Notes
Notes: svn path=/vendor-sys/illumos/dist/; revision=337206
Diffstat (limited to 'uts')
-rw-r--r--uts/common/fs/zfs/dnode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uts/common/fs/zfs/dnode.c b/uts/common/fs/zfs/dnode.c
index 0a147523f359..2d7d78019209 100644
--- a/uts/common/fs/zfs/dnode.c
+++ b/uts/common/fs/zfs/dnode.c
@@ -733,6 +733,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],