]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: add missing discipline function
authorStefan Haberland <sth@linux.ibm.com>
Tue, 25 May 2021 12:50:06 +0000 (14:50 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 25 May 2021 18:54:00 +0000 (12:54 -0600)
commit96a701e01f9920237ca89d8c3928f9c0dc7b3991
tree3370ba208b9794b5124daa151b715b0b71d5c162
parentc2f6b457f2241fac997da31563862b2b885d2b01
s390/dasd: add missing discipline function

Fix crash with illegal operation exception in dasd_device_tasklet.
Commit 150f5aa427e6 ("s390/dasd: Prepare for additional path event handling")
renamed the verify_path function for ECKD but not for FBA and DIAG.
This leads to a panic when the path verification function is called for a
FBA or DIAG device.

Fix by defining a wrapper function for dasd_generic_verify_path().

Fixes: 150f5aa427e6 ("s390/dasd: Prepare for additional path event handling")
Cc: <stable@vger.kernel.org> #5.11
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20210525125006.157531-2-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_fba.c
drivers/s390/block/dasd_int.h