Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2009 22:35:08 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r200326 - stable/8/sys/dev/usb/storage
Message-ID:  <200912092235.nB9MZ84B041828@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912092235.nB9MZ84B041828>