Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2019 07:20:47 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r355320 - stable/12/sys/dev/hyperv/storvsc
Message-ID:  <201912030720.xB37KlnQ049808@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Tue Dec  3 07:20:47 2019
New Revision: 355320
URL: https://svnweb.freebsd.org/changeset/base/355320

Log:
  MFC r354849: hyperv/storvsc: stash a pointer to hv_storvsc_request in ccb

Modified:
  stable/12/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
==============================================================================
--- stable/12/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c	Tue Dec  3 07:19:28 2019	(r355319)
+++ stable/12/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c	Tue Dec  3 07:20:47 2019	(r355320)
@@ -1915,6 +1915,7 @@ create_storvsc_request(union ccb *ccb, struct hv_storv
 	reqp->sense_info_len = csio->sense_len;
 
 	reqp->ccb = ccb;
+	ccb->ccb_h.spriv_ptr0 = reqp;
 
 	if (0 == csio->dxfer_len) {
 		return (0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912030720.xB37KlnQ049808>