diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2006-10-18 18:30:43 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-10-18 18:30:43 +0200 |
commit | 8b42f5c20251060cb1ab875459fe66ad7bb92cbd (patch) | |
tree | 6a10c6388c167e1f4d13a6e40b36de879cdfd0f7 /drivers/s390 | |
parent | 1df23957ba2da6eb8c7a5c2ad7bb1d4732132873 (diff) | |
download | linux-8b42f5c20251060cb1ab875459fe66ad7bb92cbd.tar.bz2 |
[S390] cio: invalid device operational notification
Reset device operational notification flag when channel paths become
unavailable during path verification.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/device_fsm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/s390/cio/device_fsm.c b/drivers/s390/cio/device_fsm.c index fcaf28d7b4eb..de3d0857db9f 100644 --- a/drivers/s390/cio/device_fsm.c +++ b/drivers/s390/cio/device_fsm.c @@ -578,9 +578,13 @@ ccw_device_verify_done(struct ccw_device *cdev, int err) } break; case -ETIME: + /* Reset oper notify indication after verify error. */ + cdev->private->flags.donotify = 0; ccw_device_done(cdev, DEV_STATE_BOXED); break; default: + /* Reset oper notify indication after verify error. */ + cdev->private->flags.donotify = 0; PREPARE_WORK(&cdev->private->kick_work, ccw_device_nopath_notify, cdev); queue_work(ccw_device_notify_work, &cdev->private->kick_work); |