[S390] qdio: prevent double qdio shutdown in case of I/O errors

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, October 28, 2008 - 10:59 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7c045a...
Commit:     7c045aa2c8eb731996b0c5c6552356b8946e6894
Parent:     49fdf6785fd660e18a1eb4588928f47e9fa29a9a
Author:     Jan Glauber <jang@linux.vnet.ibm.com>
AuthorDate: Tue Oct 28 11:10:13 2008 +0100
Committer:  Martin Schwidefsky <schwidefsky@de.ibm.com>
CommitDate: Tue Oct 28 11:12:02 2008 +0100

    [S390] qdio: prevent double qdio shutdown in case of I/O errors
    
    In case of I/O errors on a qdio subchannel qdio_shutdown may be
    called twice by the qdio driver and by zfcp. Remove the
    superfluous shutdown from qdio and let the upper layer driver
    handle the error condition.
    
    Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
 drivers/s390/cio/qdio_main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c
index a50682d..7c86591 100644
--- a/drivers/s390/cio/qdio_main.c
+++ b/drivers/s390/cio/qdio_main.c
@@ -1083,7 +1083,6 @@ void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm,
 		case -EIO:
 			sprintf(dbf_text, "ierr%4x", irq_ptr->schid.sch_no);
 			QDIO_DBF_TEXT2(1, setup, dbf_text);
-			qdio_int_error(cdev);
 			return;
 		case -ETIMEDOUT:
 			sprintf(dbf_text, "qtoh%4x", irq_ptr->schid.sch_no);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[S390] qdio: prevent double qdio shutdown in case of I/O e ..., Linux Kernel Mailing ..., (Tue Oct 28, 10:59 am)