Deleted Added
full compact
308a309,311
> if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa))
> return (EINVAL);
>
437a441
> * Likewise if the pool is not writeable.
439c443
< if (tx->tx_txg == TXG_INITIAL)
---
> if (tx->tx_txg == TXG_INITIAL || !spa_writeable(spa))