zil_create: don't try to deallocate a block we never allocated

(cherry picked from commit 8a35cfdcdd62ffc47e7628616f0dcb2ef172cf4b)
This commit is contained in:
Rob Norris 2023-05-12 17:25:29 +10:00 committed by Geoff Amey
parent 5a256eaed1
commit 88149e0873
1 changed files with 0 additions and 1 deletions

View File

@ -761,7 +761,6 @@ zil_create(zilog_t *zilog)
mutex_exit(&zilog->zl_lock);
zio_buf_free(lwb->lwb_buf, lwb->lwb_sz);
zio_free(zilog->zl_spa, txg, &lwb->lwb_blk);
zil_free_lwb(zilog, lwb);
return (NULL);