]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:32:54 +0000 (08:32 +0100)
commit19551491a496c6bc8bfdbf22cc3127b320f92d44
tree0f45482d1e0485a558dad16b97f13e32f1b9fd20
parentb7f9e570e080787aa67284e47fdecf96f940e174
s390/dasd: add missing discipline function

commit 96a701e01f9920237ca89d8c3928f9c0dc7b3991 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_fba.c
drivers/s390/block/dasd_int.h