svn commit: r277762 - stable/10/sys/cam
Alexander Motin
mav at FreeBSD.org
Mon Jan 26 16:30:18 UTC 2015
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 at 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);
More information about the svn-src-stable
mailing list