diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index d56117cde0..f81ae96f2e 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -2834,6 +2834,7 @@ dmu_buf_fill_done(dmu_buf_t *dbuf, dmu_tx_t *tx, boolean_t failed) failed = B_FALSE; } else if (failed) { VERIFY(!dbuf_undirty(db, tx)); + arc_buf_destroy(db->db_buf, db); db->db_buf = NULL; dbuf_clear_data(db); DTRACE_SET_STATE(db, "fill failed");