summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-01-09 14:17:48 -0800
committerBrian Behlendorf <[email protected]>2009-01-09 14:17:48 -0800
commit0e3bb44848d3c463978d0f19d625a1429d4c8371 (patch)
tree3fd77103ee97cfd2e2bc0e0aca63cec309fa9645
parentfb79976d3c2cdb0dfffa6bacd5cbab458fd5e59a (diff)
parent578c9645df41a78c01bc1a61462e20d2880481d6 (diff)
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch
-rw-r--r--module/zfs/zio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c
index 534b77db0..32fd505e3 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 {