zil_create: don't try to deallocate a block we never allocated
(cherry picked from commit 8a35cfdcdd62ffc47e7628616f0dcb2ef172cf4b)
This commit is contained in:
parent
5a256eaed1
commit
88149e0873
|
@ -761,7 +761,6 @@ zil_create(zilog_t *zilog)
|
||||||
mutex_exit(&zilog->zl_lock);
|
mutex_exit(&zilog->zl_lock);
|
||||||
|
|
||||||
zio_buf_free(lwb->lwb_buf, lwb->lwb_sz);
|
zio_buf_free(lwb->lwb_buf, lwb->lwb_sz);
|
||||||
zio_free(zilog->zl_spa, txg, &lwb->lwb_blk);
|
|
||||||
zil_free_lwb(zilog, lwb);
|
zil_free_lwb(zilog, lwb);
|
||||||
|
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
|
Loading…
Reference in New Issue