Skip to contentSkip to conversation

s390: ccw device disbanding

PATCH In review Heiko Carstens 1 participant 1 message Feb 16, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 s390: ccw device disbanding

From: Cornelia Huck <[email protected]>

If __ccw_device_disband_start() fails to initiate disbanding, it should finish with ccw_device_disband_done() (which leaves the device in offline state) instead of ccw_device_verify_done() (which leaves the device in online state).

---

 drivers/s390/cio/device_pgid.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/s390/cio/device_pgid.c +1 -1
diff -urpN linux-2.6/drivers/s390/cio/device_pgid.c linux-2.6-patched/drivers/s390/cio/device_pgid.c
@@ -405,7 +405,7 @@ __ccw_device_disband_start(struct ccw_de
 		cdev->private->iretry = 5;
 		cdev->private->imask >>= 1;
 	}
-	ccw_device_verify_done(cdev, (sch->lpm != 0) ? 0 : -ENODEV);
+	ccw_device_disband_done(cdev, (sch->lpm != 0) ? 0 : -ENODEV);
 }
 
 /*