svn commit: r277385 - head/sys/cam
Alexander Motin
mav at FreeBSD.org
Mon Jan 19 15:52:33 UTC 2015
Author: mav
Date: Mon Jan 19 15:52:32 2015
New Revision: 277385
URL: https://svnweb.freebsd.org/changeset/base/277385
Log:
Remove extra mtx_unlock().
Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com>
MFC after: 1 week
Modified:
head/sys/cam/cam_xpt.c
Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c Mon Jan 19 15:35:19 2015 (r277384)
+++ head/sys/cam/cam_xpt.c Mon Jan 19 15:52:32 2015 (r277385)
@@ -893,7 +893,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-head
mailing list