s390/dasd: prevent incorrect length error under z/VM after PAV changes
authorStefan Haberland <stefan.haberland@de.ibm.com>
Tue, 15 Dec 2015 09:16:43 +0000 (10:16 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 11 Feb 2016 12:05:53 +0000 (13:05 +0100)
commit020bf042e5b397479c1174081b935d0ff15d1a64
tree27defbf6bd87d61e03eab2f7b888e1de1f7ebdf3
parent0986d97741150b307775d56f587a73ea873a4f4d
s390/dasd: prevent incorrect length error under z/VM after PAV changes

The channel checks the specified length and the provided amount of
data for CCWs and provides an incorrect length error if the size does
not match. Under z/VM with simulation activated the length may get
changed. Having the suppress length indication bit set is stated as
good CCW coding practice and avoids errors under z/VM.

Cc: stable@vger.kernel.org
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_alias.c