diff options
author | Sebastian Ott <sebott@linux.ibm.com> | 2018-05-16 11:25:21 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-05-25 08:12:50 +0200 |
commit | 1bcdb5354aee2c0abcd13d912be35ae39a4144b6 (patch) | |
tree | 80c2825c2bb008202e437261492229531f4848de /arch | |
parent | a166c368e7dbc84a5d8f013d9fda99f47f9c9f13 (diff) | |
download | blackbird-op-linux-1bcdb5354aee2c0abcd13d912be35ae39a4144b6.tar.gz blackbird-op-linux-1bcdb5354aee2c0abcd13d912be35ae39a4144b6.zip |
s390/dasd: simplify locking in dasd_times_out
Provide __dasd_cancel_req that is called with the ccw device lock
held to simplify the locking in dasd_times_out. Also this removes
the following sparse warning:
context imbalance in 'dasd_times_out' - different lock contexts for basic block
Note: with this change dasd_schedule_device_bh is now called (via
dasd_cancel_req) with the ccw device lock held. But is is already
the case for other codepaths.
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions