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
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to