Date: Mon, 26 Jan 2015 16:30:17 +0000 (UTC) From: Alexander Motin <mav@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: r277762 - stable/10/sys/cam Message-ID: <201501261630.t0QGUHMW033688@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Mon Jan 26 16:30:17 2015 New Revision: 277762 URL: https://svnweb.freebsd.org/changeset/base/277762 Log: MFC r277385: Remove extra mtx_unlock(). Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> Modified: stable/10/sys/cam/cam_xpt.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/cam/cam_xpt.c ============================================================================== --- stable/10/sys/cam/cam_xpt.c Mon Jan 26 16:29:14 2015 (r277761) +++ stable/10/sys/cam/cam_xpt.c Mon Jan 26 16:30:17 2015 (r277762) @@ -897,7 +897,6 @@ xpt_init(void *dummy) if ((status = xpt_create_path(&path, NULL, CAM_XPT_PATH_ID, CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD)) != CAM_REQ_CMP) { - mtx_unlock(&xsoftc.xpt_lock); printf("xpt_init: xpt_create_path failed with status %#x," " failing attach\n", status); return (EINVAL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501261630.t0QGUHMW033688>