svn commit: r200326 - stable/8/sys/dev/usb/storage

Andrew Thompson thompsa at FreeBSD.org
Wed Dec 9 14:35:08 PST 2009


Author: thompsa
Date: Wed Dec  9 22:35:08 2009
New Revision: 200326
URL: http://svn.freebsd.org/changeset/base/200326

Log:
  MFC r199061
  
   Add missing mtx_destroy().
  
  Submitted by:	Sebastian Huber

Modified:
  stable/8/sys/dev/usb/storage/umass.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/usb/storage/umass.c
==============================================================================
--- stable/8/sys/dev/usb/storage/umass.c	Wed Dec  9 22:34:11 2009	(r200325)
+++ stable/8/sys/dev/usb/storage/umass.c	Wed Dec  9 22:35:08 2009	(r200326)
@@ -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-stable mailing list