On Jun 25, 2011, at 7:32 PM, Justin T. Gibbs wrote:

> Author: gibbs
> Date: Sun Jun 26 01:32:46 2011
> New Revision: 223557
> URL: http://svn.freebsd.org/changeset/base/223557
> 
> Log:
> cam/scsi/scsi_cd.c:
>       In cdregister(), hold the periph lock semaphore during changer
>       probe/configuration.  This removes a window where an open of the
>       cd device may succeed before probe processing has completed.
> 

I hope this works for Andre (and likely others).  Regardless though, 
cdregister() and daregister() need to be refactored to not require this 
delicate mess of locking hacks.

Scott

_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to