diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ztest/ztest.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 0d9495a28..c4bcd74fc 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -2157,6 +2157,7 @@ zil_replay_func_t *ztest_replay_vector[TX_MAX_TYPE] = { * ZIL get_data callbacks */ +/* ARGSUSED */ static void ztest_get_done(zgd_t *zgd, int error) { @@ -2169,9 +2170,6 @@ ztest_get_done(zgd_t *zgd, int error) ztest_range_unlock((rl_t *)zgd->zgd_lr); ztest_object_unlock(zd, object); - if (error == 0 && zgd->zgd_bp) - zil_lwb_add_block(zgd->zgd_lwb, zgd->zgd_bp); - umem_free(zgd, sizeof (*zgd)); } |