]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: move dasd_eckd_read_fc_security
authorStefan Haberland <sth@linux.ibm.com>
Wed, 20 Oct 2021 11:51:21 +0000 (13:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Oct 2021 14:10:42 +0000 (08:10 -0600)
commit74e2f2110258d5cb5f3bcbf3f9813d523eb049b9
tree0e170d560c1b220d420b2f74e496a438631c47cb
parent23596961b43752be871ea3a5756c7267f8140cff
s390/dasd: move dasd_eckd_read_fc_security

dasd_eckd_read_conf is called multiple times during device setup but the
fc_security feature needs to be read only once. So move it into the calling
function.

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-5-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_eckd.c