]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: Prepare for additional path event handling
authorJan Höppner <hoeppner@linux.ibm.com>
Thu, 8 Oct 2020 13:13:35 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:43:34 +0000 (16:43 +0100)
commit379b842f408fa4e26808efc0c605f4215ea43d39
tree973b677ae1ac88035937e030fb4e25d6fd6b55ff
parent33ffbd822a26e3afece24f29be1660b9e4aaef39
s390/dasd: Prepare for additional path event handling

[ Upstream commit c94861e9dc73ca257a7e4e03b9f5600561888327 ]

As more path events need to be handled for ECKD the current path
verification infrastructure can be reused. Rename all path verifcation
code to fit the more broadly based task of path event handling and put
the path verification in a new separate function.

Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Stable-dep-of: 460e9bed82e4 ("s390/dasd: Fix potential memleak in dasd_eckd_init()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_int.h