Fix page length reported for Block Limits VPD page.
This commit is contained in:
parent
6e9a599b27
commit
975c8d15c2
@ -10285,7 +10285,7 @@ ctl_inquiry_evpd_block_limits(struct ctl_scsiio *ctsio, int alloc_len)
|
||||
bl_ptr->device = (SID_QUAL_LU_OFFLINE << 5) | T_DIRECT;
|
||||
|
||||
bl_ptr->page_code = SVPD_BLOCK_LIMITS;
|
||||
scsi_ulto2b(sizeof(*bl_ptr), bl_ptr->page_length);
|
||||
scsi_ulto2b(sizeof(*bl_ptr) - 4, bl_ptr->page_length);
|
||||
bl_ptr->max_cmp_write_len = 0xff;
|
||||
scsi_ulto4b(0xffffffff, bl_ptr->max_txfer_len);
|
||||
if (lun != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user