svn commit: r265651 - stable/9/sys/cam/ctl

Alexander Motin mav at FreeBSD.org
Thu May 8 08:18:47 UTC 2014


Author: mav
Date: Thu May  8 08:18:46 2014
New Revision: 265651
URL: http://svnweb.freebsd.org/changeset/base/265651

Log:
  MFC r262782 (by trasz):
  Fix missing unlock in persistent reservations code, which resulted in panics
  with Hyper-V Failover Cluster.

Modified:
  stable/9/sys/cam/ctl/ctl.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/sys/cam/ctl/ctl.c
==============================================================================
--- stable/9/sys/cam/ctl/ctl.c	Thu May  8 08:17:12 2014	(r265650)
+++ stable/9/sys/cam/ctl/ctl.c	Thu May  8 08:18:46 2014	(r265651)
@@ -8043,6 +8043,7 @@ ctl_persistent_reserve_out(struct ctl_sc
 				ctl_done((union ctl_io *)ctsio);
 				return (CTL_RETVAL_COMPLETE);
 			}
+			mtx_unlock(&softc->ctl_lock);
 		} else /* create a reservation */ {
 			/*
 			 * If it's not an "all registrants" type record


More information about the svn-src-stable-9 mailing list