svn commit: r268398 - head/sys/cam/ctl

Alexander Motin mav at FreeBSD.org
Tue Jul 8 13:28:38 UTC 2014


Author: mav
Date: Tue Jul  8 13:28:37 2014
New Revision: 268398
URL: http://svnweb.freebsd.org/changeset/base/268398

Log:
  Fix typo in r267873.

Modified:
  head/sys/cam/ctl/ctl.c

Modified: head/sys/cam/ctl/ctl.c
==============================================================================
--- head/sys/cam/ctl/ctl.c	Tue Jul  8 13:24:00 2014	(r268397)
+++ head/sys/cam/ctl/ctl.c	Tue Jul  8 13:28:37 2014	(r268398)
@@ -11822,7 +11822,7 @@ ctl_lun_reset(struct ctl_lun *lun, union
 		ctl_clear_mask(lun->have_ca, i);
 		lun->pending_sense[i].ua_pending |= ua_type;
 	}
-	mtx_lock(&lun->lun_lock);
+	mtx_unlock(&lun->lun_lock);
 
 	return (0);
 }


More information about the svn-src-head mailing list