Date: Tue, 25 Mar 2014 13:18:10 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r263735 - stable/10/sys/cam/ctl Message-ID: <201403251318.s2PDIAlJ098461@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403251318.s2PDIAlJ098461>