commit | ddebf6612c5dcc479725867b9fd9a4d98f41350f | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Fri Jul 29 14:00:27 2016 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Aug 08 15:41:34 2016 +0200 |
tree | 9b3e4bbf7df3c0c8b6260a1a3b08582ce61bf3eb | |
parent | a48ed867153c6d2f6d058267213a82dbd8b6737a [diff] |
s390/qdio: fix double return code evaluation qdio sometimes checks return codes twice. First with the ccw device's lock held and then a 2nd time after the lock is released. Simplify the code by releasing the lock earlier and unify the return code evaluation. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>