Date: Tue, 03 Nov 2009 12:33:29 +0100 From: Sebastian Huber <sebastian.huber@embedded-brains.de> To: freebsd-usb@freebsd.org Subject: umass.c question Message-ID: <4AF01509.7060701@embedded-brains.de>
next in thread | raw e-mail | index | archive | help
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@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AF01509.7060701>