summaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto/zcrypt_cex4.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2016-07-19 10:53:35 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-07-31 05:27:57 -0400
commit4475aeb8b77db34dea96b09900ba0cb245b6fb42 (patch)
tree942a35fdef5895cc8e29e7633c204271597e9e5b /drivers/s390/crypto/zcrypt_cex4.c
parent837c5220557270e652d89f68a9fb12a5e72e8a7a (diff)
downloadlinux-4475aeb8b77db34dea96b09900ba0cb245b6fb42.tar.bz2
s390/cio: fix premature wakeup during chp configure
We store requests for channel path configure operations in an array but maintain an additional cfg_busy variable (indicating if we have requests stored in said array). When 2 tasks request a channel path configure operation cfg_busy could be set to 0 even if we still have unprocessed requests. This would lead to the second task being woken up although its request was not processed yet. Fix that by getting rid of cfg_busy and use the chp_cfg_task array in the wake up condition. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/zcrypt_cex4.c')
0 files changed, 0 insertions, 0 deletions