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

PR:		202625
Submitted by:	niakrisn@gmail.com
Reviewed by:	scottl
Approved by:	re (hrs)
MFC after:	2 weeks
This commit is contained in:
Sean Bruno 2016-06-28 18:08:47 +00:00
parent 364c516cff
commit 9df32773f3

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_ulto2b(dxfer_len, scsi_cmd->length);
cam_fill_csio(csio,
retries,