svn commit: r199061 - head/sys/dev/usb/storage
Andrew Thompson
thompsa at FreeBSD.org
Sun Nov 8 21:07:47 UTC 2009
Author: thompsa
Date: Sun Nov 8 21:07:47 2009
New Revision: 199061
URL: http://svn.freebsd.org/changeset/base/199061
Log:
Add missing mtx_destroy().
Submitted by: Sebastian Huber
Modified:
head/sys/dev/usb/storage/umass.c
Modified: head/sys/dev/usb/storage/umass.c
==============================================================================
--- head/sys/dev/usb/storage/umass.c Sun Nov 8 21:00:50 2009 (r199060)
+++ head/sys/dev/usb/storage/umass.c Sun Nov 8 21:07:47 2009 (r199061)
@@ -1669,6 +1669,7 @@ umass_detach(device_t dev)
#if (__FreeBSD_version >= 700037)
mtx_unlock(&sc->sc_mtx);
#endif
+ mtx_destroy(&sc->sc_mtx);
return (0); /* success */
}
More information about the svn-src-head
mailing list