mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
hyperv/storvsc: stash a pointer to hv_storvsc_request in ccb
A SIM-private field is used for that. The pointer can be useful when examining a state of a queued ccb. E.g., a ccb on a da_softc.pending_ccbs. MFC after: 2 weeks
This commit is contained in:
parent
82e14014a3
commit
97d8f008af
1 changed files with 1 additions and 0 deletions
|
|
@ -1915,6 +1915,7 @@ create_storvsc_request(union ccb *ccb, struct hv_storvsc_request *reqp)
|
|||
reqp->sense_info_len = csio->sense_len;
|
||||
|
||||
reqp->ccb = ccb;
|
||||
ccb->ccb_h.spriv_ptr0 = reqp;
|
||||
|
||||
if (0 == csio->dxfer_len) {
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue