summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-11 22:47:53 -0700
committerBrian Behlendorf <[email protected]>2009-03-11 22:47:53 -0700
commita2dc88da2aa76ee7887d3ef5e9f352a1e1761920 (patch)
treef1e20bf54adee0787e40d9942b65f19a68630a40 /module
parent32f1dccd37a60d0bf7264028e79cd8118aa1a596 (diff)
parent462f86436500057837ca8029fc193a3114ba217f (diff)
Merge branch 'gcc-c90' into refs/top-bases/gcc-branch
Diffstat (limited to 'module')
-rw-r--r--module/zfs/zio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c
index 8158bda8e..094daedbe 100644
--- a/module/zfs/zio.c
+++ b/module/zfs/zio.c
@@ -1432,10 +1432,9 @@ zio_gang_tree_assemble_done(zio_t *zio)
zio_t *lio = zio->io_logical;
zio_gang_node_t *gn = zio->io_private;
blkptr_t *bp = zio->io_bp;
- zio_t *pio = zio_unique_parent(zio);
int g;
- ASSERT(pio == lio);
+ ASSERT(zio_unique_parent(zio) == lio);
ASSERT(zio_walk_children(zio) == NULL);
if (zio->io_error)