]> err.no Git - linux-2.6/commit
[S390] zcrypt: Fix ap_poll_requests counter in lost requests error path.
authorRalph Wuerthner <rwuerthn@de.ibm.com>
Mon, 26 Mar 2007 18:42:43 +0000 (20:42 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 26 Mar 2007 18:43:47 +0000 (20:43 +0200)
commite675c0d2bf523a80098c843603ccc091d3720fb4
tree058e1373752e83d0b635676746afa11ddbc18544
parentc6a48264739e3486f66e5b21a543c9573b713621
[S390] zcrypt: Fix ap_poll_requests counter in lost requests error path.

In the unlikely event that an AP device lost requests, don't forget to
update the ap_poll_requests counter too. Same must happen in case an AP
device is removed while there are still outstanding requests.

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Ralph Wuerthner <rwuerthn@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/crypto/ap_bus.c