]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] dasd: fix data size for PSF/PRSSD command
authorStefan Weinhuber <wein@de.ibm.com>
Thu, 21 Aug 2008 17:46:38 +0000 (19:46 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 21 Aug 2008 17:46:41 +0000 (19:46 +0200)
commitd8001293c428d12ee7e4d2012cdd58099b360623
treed793b150a15f6543578fd4cb580ba62cfd58aa17
parent5f863a4f09eb0abc2fc694cb32e89a34f9cbfb81
[S390] dasd: fix data size for PSF/PRSSD command

The Perform Subsystem Function/Prepare for Read Subsystem Data
command requires 12 bytes of parameter data, but the respective data
structure dasd_psf_prssd_data has a length of 16 bytes.
Current storage servers ignore the obsolete bytes, but older models
fail to execute the command and report an incorrect length error.
This causes the device initilization for these devices to fail.
To fix this problem we need to correct the dasd_psf_prssd_data
structure and shorten it to the correct length.

Reported-by: Ivan Warren <ivan@vmfacility.fr>
Reviewed-by: Ivan Warren <ivan@vmfacility.fr>
Tested-by: Ivan Warren <ivan@vmfacility.fr>
CC: stable <stable@kernel.org>
Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
drivers/s390/block/dasd_eckd.h