summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chsc.c
diff options
context:
space:
mode:
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>2006-09-20 15:59:59 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-09-20 15:59:59 +0200
commit28bdc6f6233f380ddc0b430cabd88ffeafea34c7 (patch)
treebe2c8e7943dab4328fcbe18cd6e03c50a82e0f34 /drivers/s390/cio/chsc.c
parente0e32c8eba86fd5ea79eefad6f2c0b4988dfd02a (diff)
downloadblackbird-op-linux-28bdc6f6233f380ddc0b430cabd88ffeafea34c7.tar.gz
blackbird-op-linux-28bdc6f6233f380ddc0b430cabd88ffeafea34c7.zip
[S390] cio: always query all paths on path verification.
Reappearing channel paths are sometimes not utilized by CCW devices because path verification incorrectly relies on path-operational-mask information which is not updated until a channel path has been used again. Modify path verification procedure to always query all available paths to a device. Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r--drivers/s390/cio/chsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c
index 9f9134b67e40..3bb4e472d73d 100644
--- a/drivers/s390/cio/chsc.c
+++ b/drivers/s390/cio/chsc.c
@@ -256,7 +256,7 @@ s390_subchannel_remove_chpid(struct device *dev, void *data)
/* trigger path verification. */
if (sch->driver && sch->driver->verify)
sch->driver->verify(&sch->dev);
- else if (sch->vpm == mask)
+ else if (sch->lpm == mask)
goto out_unreg;
out_unlock:
spin_unlock_irq(&sch->lock);
OpenPOWER on IntegriCloud