Source-Changes-D archive

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

Re: CVS commit: src/sys/kern



> @@ -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.

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Home | Main Index | Thread Index | Old Index