usr/src/uts/common/fs/zfs/dmu_tx.c
changeset 13805 e3a9ae14a119
parent 13789 f0c17d471b7a
child 13818 e9ad0a945d45
equal deleted inserted replaced
13804:9f4f28db61d2 13805:e3a9ae14a119
   909 	dmu_tx_hold_t *txh;
   909 	dmu_tx_hold_t *txh;
   910 	spa_t *spa = tx->tx_pool->dp_spa;
   910 	spa_t *spa = tx->tx_pool->dp_spa;
   911 	uint64_t memory, asize, fsize, usize;
   911 	uint64_t memory, asize, fsize, usize;
   912 	uint64_t towrite, tofree, tooverwrite, tounref, tohold, fudge;
   912 	uint64_t towrite, tofree, tooverwrite, tounref, tohold, fudge;
   913 
   913 
   914 	ASSERT3U(tx->tx_txg, ==, 0);
   914 	ASSERT0(tx->tx_txg);
   915 
   915 
   916 	if (tx->tx_err)
   916 	if (tx->tx_err)
   917 		return (tx->tx_err);
   917 		return (tx->tx_err);
   918 
   918 
   919 	if (spa_suspended(spa)) {
   919 	if (spa_suspended(spa)) {