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

Edward Tomasz Napierala trasz at FreeBSD.org
Wed Mar 5 12:02:30 UTC 2014


Author: trasz
Date: Wed Mar  5 12:02:29 2014
New Revision: 262782
URL: http://svnweb.freebsd.org/changeset/base/262782

Log:
  Fix missing unlock in persistent reservations code, which resulted in panics
  with Hyper-V Failover Cluster.
  
  Reviewed by:	ken@
  MFC after:	2 weeks
  Sponsored by:	The FreeBSD Foundation

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

Modified: head/sys/cam/ctl/ctl.c
==============================================================================
--- head/sys/cam/ctl/ctl.c	Wed Mar  5 08:33:58 2014	(r262781)
+++ head/sys/cam/ctl/ctl.c	Wed Mar  5 12:02:29 2014	(r262782)
@@ -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