Messages in this thread Patch in this message | | | Date | Thu, 16 Feb 2006 08:15:58 +0100 | From | Heiko Carstens <> | Subject | [patch 1/4] s390: ccw device disbanding |
| |
From: Cornelia Huck <cornelia.huck@de.ibm.com>
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).
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> ---
drivers/s390/cio/device_pgid.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
diff -urpN linux-2.6/drivers/s390/cio/device_pgid.c linux-2.6-patched/drivers/s390/cio/device_pgid.c --- linux-2.6/drivers/s390/cio/device_pgid.c 2006-02-16 07:29:50.000000000 +0100 +++ linux-2.6-patched/drivers/s390/cio/device_pgid.c 2006-02-16 07:30:05.000000000 +0100 @@ -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); } /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |