diff options
author | sbruno <sbruno@FreeBSD.org> | 2016-07-22 03:34:15 +0000 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2016-07-22 03:34:15 +0000 |
commit | a310d21a88737367640a8e5edaadb070859f9829 (patch) | |
tree | ca874d933d476acb0b5b8708fe43ac1134d208f9 | |
parent | 7a0632638b915e94b08bea034bdfd2e61b035263 (diff) | |
download | FreeBSD-src-a310d21a88737367640a8e5edaadb070859f9829.zip FreeBSD-src-a310d21a88737367640a8e5edaadb070859f9829.tar.gz |
MFC r302281
Correct PERSISTENT RESERVE OUT command and populate scsi_cmd->length.
PR: 202625
-rw-r--r-- | sys/cam/scsi/scsi_all.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c index 12be402..6c04fae 100644 --- a/sys/cam/scsi/scsi_all.c +++ b/sys/cam/scsi/scsi_all.c @@ -8539,6 +8539,7 @@ scsi_persistent_reserve_out(struct ccb_scsiio *csio, uint32_t retries, scsi_cmd->opcode = PERSISTENT_RES_OUT; scsi_cmd->action = service_action; scsi_cmd->scope_type = scope | res_type; + scsi_ulto4b(dxfer_len, scsi_cmd->length); cam_fill_csio(csio, retries, |