tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: A small cgd(4) diff



On Fri, Jul 10, 2009 at 11:35 AM, Jukka Ruohonen<jruohonen%iki.fi@localhost> 
wrote:
> Hi,
>
> a small byproduct from debugging cgd(4); use mutex(9) instead of lock(9).


> --- src/sys/dev/cgd.c  5 Jun 2009 19:21:02 -0000    1.58
> +++ src/sys/dev/cgd.c  10 Jul 2009 09:27:10 -0000
> @@ -165,9 +165,8 @@ cgdsoftc_init(struct cgd_softc *cs, int
> Â{
>    Âchar  Âsbuf[DK_XNAME_SIZE];
>
> - Â Â Â memset(cs, 0x0, sizeof(*cs));

This memset seems reasonable to me, why have you removed it ?



-- 


Regards.

Adam


Home | Main Index | Thread Index | Old Index