]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: fix race during dasd initialization
authorStefan Haberland <sth@linux.vnet.ibm.com>
Tue, 12 Sep 2017 15:22:42 +0000 (17:22 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 13 Sep 2017 14:34:23 +0000 (16:34 +0200)
commit673514aff5d797b0cdb3f09097ae0e253b5667c3
treea6c509a926545c9861da5b6f9fa1331f47e0fc96
parentfc3100d64f0ae383ae8d845989103da06d62763b
s390/dasd: fix race during dasd initialization

Fix a panic in blk_mq_hctx_has_pending() that is caused by a racy call to
blk_mq_run_hw_queues in a dasd function that might get called with the
request queue not yet initialized during initialization.

Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c