Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 00:29:26 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r235495 - projects/zfsd/head/sys/cam/scsi
Message-ID:  <201205160029.q4G0TQpH013739@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed May 16 00:29:26 2012
New Revision: 235495
URL: http://svn.freebsd.org/changeset/base/235495

Log:
  Add missing sx_destroy().

Modified:
  projects/zfsd/head/sys/cam/scsi/scsi_enc.c

Modified: projects/zfsd/head/sys/cam/scsi/scsi_enc.c
==============================================================================
--- projects/zfsd/head/sys/cam/scsi/scsi_enc.c	Wed May 16 00:10:42 2012	(r235494)
+++ projects/zfsd/head/sys/cam/scsi/scsi_enc.c	Wed May 16 00:29:26 2012	(r235495)
@@ -172,6 +172,7 @@ enc_dtor(struct cam_periph *periph)
 		enc->enc_boot_hold_ch.ich_func = NULL;
 	}
 
+	sx_destroy(&enc->enc_cache_lock);
 	ENC_FREE(enc);
 }
 



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