]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: split up dasd_eckd_read_conf
authorStefan Haberland <sth@linux.ibm.com>
Wed, 20 Oct 2021 11:51:20 +0000 (13:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Oct 2021 14:10:41 +0000 (08:10 -0600)
commit23596961b43752be871ea3a5756c7267f8140cff
tree506b6c93dd5e5cab39f17550553c36be312854d2
parent10c78e53eea3d9359d4e2a0a4a17a73aacd85497
s390/dasd: split up dasd_eckd_read_conf

Move the cabling check out of dasd_eckd_read_conf and split it up into
separate functions to improve readability and re-use functions.

Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Link: https://lore.kernel.org/r/20211020115124.1735254-4-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_eckd.c