svn commit: r263735 - stable/10/sys/cam/ctl

Edward Tomasz Napierala trasz at FreeBSD.org
Tue Mar 25 13:18:10 UTC 2014


Author: trasz
Date: Tue Mar 25 13:18:09 2014
New Revision: 263735
URL: http://svnweb.freebsd.org/changeset/base/263735

Log:
  MFC 262782:
  
  Fix missing unlock in persistent reservations code, which resulted in panics
  with Hyper-V Failover Cluster.
  
  Sponsored by:	The FreeBSD Foundation

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

Modified: stable/10/sys/cam/ctl/ctl.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl.c	Tue Mar 25 12:38:43 2014	(r263734)
+++ stable/10/sys/cam/ctl/ctl.c	Tue Mar 25 13:18:09 2014	(r263735)
@@ -8071,6 +8071,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-all mailing list