Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=35f51eee99efe88866476300ccb7f206e88f3394
Commit:     35f51eee99efe88866476300ccb7f206e88f3394
Parent:     06f923cbf080e22d1ffccbf3fd2cbab0176f6025
Author:     Brian King <[EMAIL PROTECTED]>
AuthorDate: Wed Jun 13 17:12:40 2007 -0500
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Sun Jun 17 15:53:30 2007 -0500

    [SCSI] ibmvscsi: Abort path fix
    
    Since it is completely possible for scsi core to call
    a LLDD's eh_abort function after the command has completed,
    fix ibmvscsi to return SUCCESS if this is the case.
    
    Signed-off-by: Brian King <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/ibmvscsi/ibmvscsi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c
index 934bcad..f5da762 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.c
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.c
@@ -1018,7 +1018,7 @@ static int ibmvscsi_eh_abort_handler(struct scsi_cmnd 
*cmd)
 
        if (!found_evt) {
                spin_unlock_irqrestore(hostdata->host->host_lock, flags);
-               return FAILED;
+               return SUCCESS;
        }
 
        evt = get_event_struct(&hostdata->pool);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to