numam-spdk/lib/scsi
Jim Harris 72bb4b6171 scsi: always zero unused INQUIRY bytes up to 96 if allocated
Our SCSI translation layer only fills 4 version descriptors
meaning the last 30 bytes of the 96 byte standard inquiry
data format are not used.  Some compliance tests expect
the full 96 bytes to be returned, even if they are unused.
So zero the remaining bytes (up to 96) if those bytes were
allocated.

This fixes a regression introduced by recent commit d3b58c006.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Id61614b904b5dff39f034b7ba4da624be1b25bae
2016-09-09 07:57:41 -07:00
..
dev.c bdev: Delete bdev_db 2016-08-02 09:08:51 -07:00
lun_db.c scsi: import SCSI/blockdev translation layer 2016-08-01 10:35:01 -07:00
lun.c scsi: Flesh out the public header file 2016-08-03 09:47:28 -07:00
Makefile scsi: import SCSI/blockdev translation layer 2016-08-01 10:35:01 -07:00
port.c scsi: import SCSI/blockdev translation layer 2016-08-01 10:35:01 -07:00
scsi_bdev.c scsi: always zero unused INQUIRY bytes up to 96 if allocated 2016-09-09 07:57:41 -07:00
scsi_internal.h scsi: Make OBJECT_SCSI_TASK public 2016-08-04 13:15:23 -07:00
scsi_rpc.c scsi: import SCSI/blockdev translation layer 2016-08-01 10:35:01 -07:00
scsi.c scsi: import SCSI/blockdev translation layer 2016-08-01 10:35:01 -07:00
task.c scsi: Flesh out the public header file 2016-08-03 09:47:28 -07:00