aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dsl_destroy.c
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2013-06-20 14:43:17 -0800
committerBrian Behlendorf <[email protected]>2013-11-04 11:18:14 -0800
commit1a077756e8ba946a55f999fa1cb5f0e7dcb9aa81 (patch)
tree40c84c287964ba8d9f517d3392c7a482c85109cf /module/zfs/dsl_destroy.c
parent34ffbed88c949bc4c8b52691e548db16a6e6816a (diff)
Illumos #3829
3829 fix for 3740 changed behavior of zfs destroy/hold/release ioctl Reviewed by: Matt Amdur <[email protected]> Reviewed by: Christopher Siden <[email protected]> Approved by: Richard Lowe <[email protected]> References: https://www.illumos.org/issues/3829 illumos/illumos-gate@bb6e70758d0c30c09f148026d6e686e21cfc8d18 Ported-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #1775
Diffstat (limited to 'module/zfs/dsl_destroy.c')
-rw-r--r--module/zfs/dsl_destroy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/module/zfs/dsl_destroy.c b/module/zfs/dsl_destroy.c
index b1fd270da..1c4c3deec 100644
--- a/module/zfs/dsl_destroy.c
+++ b/module/zfs/dsl_destroy.c
@@ -129,9 +129,6 @@ dsl_destroy_snapshot_check(void *arg, dmu_tx_t *tx)
if (pair != NULL)
return (fnvpair_value_int32(pair));
- if (nvlist_empty(dsda->dsda_successful_snaps))
- return (SET_ERROR(ENOENT));
-
return (0);
}