[SCSI] scsi_debug: Fix incorrect page length in logical block provisioning VPD
authorMartin K. Petersen <mkp@mkp.net>
Thu, 8 Mar 2012 15:48:29 +0000 (10:48 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Mar 2012 07:26:36 +0000 (08:26 +0100)
commit3f0bc3b331a371392bb64c5b211b60ec84d5a444
tree21c748bedcd7dfeb80adc1a3e77f5212eb0ee27e
parentbe1dd78de5686c062bb3103f9e86d444a10ed783
[SCSI] scsi_debug: Fix incorrect page length in logical block provisioning VPD

The page length for the 0xb2 VPD page is defined to be 4 bytes when no
provisioning descriptors are provided (DP=0).

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_debug.c