Source-Changes-D archive

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

Re: CVS commit: src/sys/kern



On Wed, Jan 13, 2010 at 12:09:38PM +0900, Masao Uebayashi wrote:
> > @@ -1882,6 +1900,7 @@
> >  device_t
> >  device_lookup(cfdriver_t cd, int unit)
> >  {
> > +   struct devicelist garbage = TAILQ_HEAD_INITIALIZER(garbage);
> >     device_t dv;
> >     int s;
> >  
> > @@ -1892,6 +1911,7 @@
> >     else if ((dv = cd->cd_devs[unit]) != NULL && dv->dv_del_gen != 0)
> >             dv = NULL;
> >     config_alldevs_unlock(s);
> > +   config_dump_garbage(&garbage);
> >  
> >     return dv;
> >  }
> 
> I wonder why this part was needed.

It was not needed.  I have prepared a patch that deals with this and
other issues.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index