umass.c question

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 3 11:33:32 UTC 2009


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 at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the freebsd-usb mailing list