svn commit: r283518 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Andriy Gapon
avg at FreeBSD.org
Mon May 25 11:30:37 UTC 2015
Author: avg
Date: Mon May 25 11:30:36 2015
New Revision: 283518
URL: https://svnweb.freebsd.org/changeset/base/283518
Log:
MFC r282632: MFV r282630: 5809 Blowaway full receive in v1 pool causes kernel panic
Modified:
stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/cddl/contrib/opensolaris/ (props changed)
Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c Mon May 25 10:51:40 2015 (r283517)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c Mon May 25 11:30:36 2015 (r283518)
@@ -996,7 +996,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;
More information about the svn-src-stable-9
mailing list