aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/cmf.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-05-16 09:37:25 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-06-25 10:14:37 +0200
commit64e03ff72623b8c2ea89ca3cb660094e019ed4ae (patch)
tree8fca22ca5049c83be9f8486d8474c18ce993042b /drivers/s390/cio/cmf.c
parents390: Correct register corruption in critical section cleanup (diff)
downloadlinux-dev-64e03ff72623b8c2ea89ca3cb660094e019ed4ae.tar.xz
linux-dev-64e03ff72623b8c2ea89ca3cb660094e019ed4ae.zip
s390/qdio: reset old sbal_state flags
When allocating a new AOB fails, handle_outbound() is still capable of transmitting the selected buffer (just without async completion). But if a previous transfer on this queue slot used async completion, its sbal_state flags field is still set to QDIO_OUTBUF_STATE_FLAG_PENDING. So when the upper layer driver sees this stale flag, it expects an async completion that never happens. Fix this by unconditionally clearing the flags field. Fixes: 104ea556ee7f ("qdio: support asynchronous delivery of storage blocks") Cc: <stable@vger.kernel.org> #v3.2+ Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cmf.c')
0 files changed, 0 insertions, 0 deletions