Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2009 21:07:47 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199061 - head/sys/dev/usb/storage
Message-ID:  <200911082107.nA8L7l4m098002@svn.freebsd.org>

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



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