forked from luck/tmp_suning_uos_patched
[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>
This commit is contained in:
parent
1df23957ba
commit
8b42f5c202
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user