Date: Wed, 5 Mar 2014 12:02:30 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262782 - head/sys/cam/ctl Message-ID: <201403051202.s25C2UkP081591@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403051202.s25C2UkP081591>