Skip to content

Commit

Permalink
Illumos 5809 - Blowaway full receive in v1 pool causes kernel panic
Browse files Browse the repository at this point in the history
5809 Blowaway full receive in v1 pool causes kernel panic
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Alex Reece <[email protected]>
Reviewed by: Will Andrews <[email protected]>
Approved by: Gordon Ross <[email protected]>

References:
  https://www.illumos.org/issues/5809
  illumos/illumos-gate@f40b29c

Ported-by: Brian Behlendorf <[email protected]>
  • Loading branch information
pcd1193182 authored and behlendorf committed Feb 8, 2016
1 parent 8e4c5c9 commit 6b42ea8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/zfs/dmu_send.c
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,8 @@ dmu_recv_begin_sync(void *arg, dmu_tx_t *tx)
}
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;
Expand Down

0 comments on commit 6b42ea8

Please sign in to comment.