diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2014-02-05 13:36:05 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-02-06 11:21:23 +0100 |
commit | 1bc8927cc5b57c4d9198e4c4ac6b426b7c7d72c7 (patch) | |
tree | 74ddf63ee3f1aea6adb0e49a1044ee80973d89fe /mm/swap.c | |
parent | 8d7f6690cedb83456edd41c9bd583783f0703bf0 (diff) | |
download | linux-1bc8927cc5b57c4d9198e4c4ac6b426b7c7d72c7.tar.gz linux-1bc8927cc5b57c4d9198e4c4ac6b426b7c7d72c7.tar.bz2 linux-1bc8927cc5b57c4d9198e4c4ac6b426b7c7d72c7.zip |
s390/cio: improve cio_commit_config
The modify subchannel wrapper cio_commit_config can fail when
(unexpected) status is pending on the subchannel.
Callers of cio_commit_config (that operated on enabled subchannels)
needed to do error handling for that case (clear the unexpected
status with test subchannel and retry). This error handling is
missing in some code paths and caused online setting of devices to
fail.
Fix this for all callers by moving the error handling inside
cio_commit_config.
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions