Date: Thu, 12 Jun 2014 11:21:19 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r267386 - head/sys/dev/hpt27xx Message-ID: <201406121121.s5CBLJA5089167@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Jun 12 11:21:18 2014 New Revision: 267386 URL: http://svnweb.freebsd.org/changeset/base/267386 Log: Remove some Giant unlocks I missed in r267290. Modified: head/sys/dev/hpt27xx/hpt27xx_osm_bsd.c Modified: head/sys/dev/hpt27xx/hpt27xx_osm_bsd.c ============================================================================== --- head/sys/dev/hpt27xx/hpt27xx_osm_bsd.c Thu Jun 12 11:15:19 2014 (r267385) +++ head/sys/dev/hpt27xx/hpt27xx_osm_bsd.c Thu Jun 12 11:21:18 2014 (r267386) @@ -1358,19 +1358,16 @@ static int hpt_rescan_bus(void) ldm_for_each_vbus(vbus, vbus_ext) { if ((ccb = xpt_alloc_ccb()) == NULL) { - mtx_unlock(&Giant); return(ENOMEM); } if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(vbus_ext->sim), CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { xpt_free_ccb(ccb); - mtx_unlock(&Giant); return(EIO); } xpt_rescan(ccb); } - mtx_unlock(&Giant); return(0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406121121.s5CBLJA5089167>