Date: Fri, 15 Jun 2007 16:57:04 GMT From: Ulf Lilleengen <lulf@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 121702 for review Message-ID: <200706151657.l5FGv4Yw035472@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=121702 Change 121702 by lulf@lulf_carrot on 2007/06/15 16:56:29 - Fix a bug where I used wrong text-to-number conversion on some states. Affected files ... .. //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_state.c#10 edit Differences ... ==== //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_state.c#10 (text+ko) ==== @@ -97,7 +97,7 @@ /* XXX: Should try to avoid malloc. */ newstatep = g_malloc(sizeof(int), M_WAITOK | M_ZERO); - *newstatep = gv_sdstatei(state); + *newstatep = gv_plexstatei(state); flagp = g_malloc(sizeof(int), M_WAITOK | M_ZERO); *flagp = f; gv_post_event(sc, GV_EVENT_SET_PLEX_STATE, p, newstatep, flagp); @@ -127,7 +127,7 @@ /* XXX: Should try to avoid malloc. */ newstatep = g_malloc(sizeof(int), M_WAITOK | M_ZERO); - *newstatep = gv_sdstatei(state); + *newstatep = gv_drivestatei(state); flagp = g_malloc(sizeof(int), M_WAITOK | M_ZERO); *flagp = f; gv_post_event(sc, GV_EVENT_SET_DRIVE_STATE, d, newstatep,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706151657.l5FGv4Yw035472>