umass.c question

View: New views
2 Messages — Rating Filter:   Alert me  

umass.c question

by Sebastian Huber-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

In umass_attach() the sc->sc_mtx will be initialized.  This mutex will be
passed to cam_sim_alloc().  Who destroys this mutex?  I guess it should be
destroyed in umass_detach() right after the last unlock.

CU

--
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber@...
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
freebsd-usb@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscribe@..."

Re: umass.c question

by Hans Petter Selasky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 03 November 2009 12:33:29 Sebastian Huber wrote:
> Sebastian Huber

Thanks for your patch.

Committed to USB P4:

http://p4web.freebsd.org/chv.cgi?CH=170113

--HPS
_______________________________________________
freebsd-usb@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscribe@..."