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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to