]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: fix wrongly assigned configuration data
authorStefan Haberland <sth@linux.vnet.ibm.com>
Wed, 6 Dec 2017 09:30:39 +0000 (10:30 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 2 Jan 2018 12:47:01 +0000 (13:47 +0100)
commit5d48c551654bb5141e54d2fb68e3477cf3f7c4db
tree5f11f08a116dc85b58aeb40588a5683ebaac9728
parent70abae733b023b1db42b749f6777d74432e8c7b2
s390/dasd: fix wrongly assigned configuration data

We store per path and per device configuration data to identify the
path or device correctly. The per path configuration data might get
mixed up if the original request gets into error recovery and is
started with a random path mask.

This would lead to a wrong identification of a path in case of a CUIR
event for example.

Fix by copying the path mask from the original request to the error
recovery request in case it is a path verification request.

Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_3990_erp.c