]> git.itanic.dy.fi Git - linux-stable/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)
commitc0c8a8397fa8a74d04915f4d3d28cb4a5d401427
tree3370ba208b9794b5124daa151b715b0b71d5c162
parentbc6a385132601c29a6da1dbf8148c0d3c9ad36dc
s390/dasd: add missing discipline function

Fix crash with illegal operation exception in dasd_device_tasklet.
Commit b72949328869 ("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: b72949328869 ("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