summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@FreeBSD.org>2009-05-06 18:27:28 +0000
committerUlf Lilleengen <lulf@FreeBSD.org>2009-05-06 18:27:28 +0000
commit1d8dfc60f48d7a9d63ba06cddddab7f57d12e55a (patch)
treec0866cfc1cf4b74f0f3223db5d530288da800777
parent451b95f489a488604fec922f743aa11720c7d256 (diff)
Notes
-rw-r--r--sys/geom/vinum/geom_vinum_raid5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/vinum/geom_vinum_raid5.c b/sys/geom/vinum/geom_vinum_raid5.c
index 088162e274b8..8ea29263af16 100644
--- a/sys/geom/vinum/geom_vinum_raid5.c
+++ b/sys/geom/vinum/geom_vinum_raid5.c
@@ -122,7 +122,7 @@ gv_raid5_start(struct gv_plex *p, struct bio *bp, caddr_t addr, off_t boff,
/* If internal, stop and reset state. */
if (bp->bio_cflags & GV_BIO_INTERNAL) {
if (bp->bio_cflags & GV_BIO_MALLOC)
- g_free(cbp->bio_data);
+ g_free(bp->bio_data);
g_destroy_bio(bp);
/* Reset flags. */
p->flags &= ~(GV_PLEX_SYNCING | GV_PLEX_REBUILDING |