Correct PERSISTENT RESERVE OUT command and populate scsi_cmd->length.

PR:	202625
Submitted by:	niakrisn@gmail.com
Reviewed by:	scottl kenm
Approved by:	re (gjb)
MFC after:	2 weeks
This commit is contained in:
sbruno 2016-06-29 16:41:37 +00:00
parent 032d51d92b
commit 7fe30bec23

View File

@ -8788,6 +8788,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,