mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
(scsi_request_sense): Set allocation length in REQUEST_SENSE CCB.
Reviewed by: ken
This commit is contained in:
parent
86addc5271
commit
a035059fc1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120314
@ -2408,6 +2408,7 @@ scsi_request_sense(struct ccb_scsiio *csio, u_int32_t retries,
|
||||
scsi_cmd = (struct scsi_request_sense *)&csio->cdb_io.cdb_bytes;
|
||||
bzero(scsi_cmd, sizeof(*scsi_cmd));
|
||||
scsi_cmd->opcode = REQUEST_SENSE;
|
||||
scsi_cmd->length = dxfer_len;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user