diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index 54b0e3e37d51..070a20afde2a 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -3199,9 +3199,10 @@ dbuf_issue_final_prefetch_done(zio_t *zio, const zbookmark_phys_t *zb, (void) zio, (void) zb, (void) iobp; dbuf_prefetch_arg_t *dpa = private; - dbuf_prefetch_fini(dpa, B_TRUE); if (abuf != NULL) arc_buf_destroy(abuf, private); + + dbuf_prefetch_fini(dpa, B_TRUE); } /*