]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/dmu_send.c
Illumos #3894
[mirror_zfs.git] / module / zfs / dmu_send.c
index 87744cb72844a6324ccd2750b911739afd5e7fe5..e80631b48756d2b64a9ae3ce84366462d18ebd90 100644 (file)
@@ -1584,7 +1584,7 @@ dmu_recv_end_check(void *arg, dmu_tx_t *tx)
                        return (error);
                }
                error = dsl_dataset_snapshot_check_impl(origin_head,
-                   drc->drc_tosnap, tx);
+                   drc->drc_tosnap, tx, B_TRUE);
                dsl_dataset_rele(origin_head, FTAG);
                if (error != 0)
                        return (error);
@@ -1592,7 +1592,7 @@ dmu_recv_end_check(void *arg, dmu_tx_t *tx)
                error = dsl_destroy_head_check_impl(drc->drc_ds, 1);
        } else {
                error = dsl_dataset_snapshot_check_impl(drc->drc_ds,
-                   drc->drc_tosnap, tx);
+                   drc->drc_tosnap, tx, B_TRUE);
        }
        return (error);
 }