From 902ce659b043e65090f116d9da42c7adef3d9ecc Mon Sep 17 00:00:00 2001
From: Brian Behlendorf <behlendorf1@llnl.gov>
Date: Fri, 9 Jan 2009 14:15:56 -0800
Subject: [PATCH] Fix c90 compliance issue

---
 module/zfs/zio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/zfs/zio.c b/module/zfs/zio.c
index 534b77db05..32fd505e33 100644
--- a/module/zfs/zio.c
+++ b/module/zfs/zio.c
@@ -850,8 +850,8 @@ zio_write_bp_init(zio_t *zio)
 	 */
 	if (bp->blk_birth == zio->io_txg && BP_GET_PSIZE(bp) == csize &&
 	    pass > SYNC_PASS_REWRITE) {
-		ASSERT(csize != 0);
 		uint32_t gang_stages = zio->io_pipeline & ZIO_GANG_STAGES;
+		ASSERT(csize != 0);
 		zio->io_pipeline = ZIO_REWRITE_PIPELINE | gang_stages;
 		zio->io_flags |= ZIO_FLAG_IO_REWRITE;
 	} else {