Skip to content

Commit 6b42ea8

Browse files
pcd1193182behlendorf
authored andcommitted
Illumos 5809 - Blowaway full receive in v1 pool causes kernel panic
5809 Blowaway full receive in v1 pool causes kernel panic 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> References: https://www.illumos.org/issues/5809 illumos/illumos-gate@f40b29c Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
1 parent 8e4c5c9 commit 6b42ea8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

module/zfs/dmu_send.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,8 @@ dmu_recv_begin_sync(void *arg, dmu_tx_t *tx)
13501350
}
13511351
dsobj = dsl_dataset_create_sync(ds->ds_dir, recv_clone_name,
13521352
snap, crflags, drba->drba_cred, tx);
1353-
dsl_dataset_rele(snap, FTAG);
1353+
if (drba->drba_snapobj != 0)
1354+
dsl_dataset_rele(snap, FTAG);
13541355
dsl_dataset_rele(ds, FTAG);
13551356
} else {
13561357
dsl_dir_t *dd;

0 commit comments

Comments
 (0)