Date: Fri, 8 May 2015 13:55:25 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r282630 - vendor-sys/illumos/dist/uts/common/fs/zfs Message-ID: <201505081355.t48DtPJO081665@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Fri May 8 13:55:24 2015 New Revision: 282630 URL: https://svnweb.freebsd.org/changeset/base/282630 Log: 5809 Blowaway full receive in v1 pool causes kernel panic Author: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Alex Reece <alex@delphix.com> Reviewed by: Will Andrews <will@freebsd.org> Approved by: Gordon Ross <gwr@nexenta.com> illumos/illumos-gate@f40b29ce2a815bcc0787acf6f520a2b74258b785 Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/dmu_send.c Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/dmu_send.c ============================================================================== --- vendor-sys/illumos/dist/uts/common/fs/zfs/dmu_send.c Fri May 8 12:55:25 2015 (r282629) +++ vendor-sys/illumos/dist/uts/common/fs/zfs/dmu_send.c Fri May 8 13:55:24 2015 (r282630) @@ -1108,7 +1108,8 @@ dmu_recv_begin_sync(void *arg, dmu_tx_t } dsobj = dsl_dataset_create_sync(ds->ds_dir, recv_clone_name, snap, crflags, drba->drba_cred, tx); - dsl_dataset_rele(snap, FTAG); + if (drba->drba_snapobj != 0) + dsl_dataset_rele(snap, FTAG); dsl_dataset_rele(ds, FTAG); } else { dsl_dir_t *dd;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505081355.t48DtPJO081665>