Signed-off-by: Mike Christie <michaelc@xxxxxxxxxxx>
--- linux-2.6.12-rc3/drivers/scsi/scsi.c.orig 2005-04-29 17:05:01.323994458 -0700 +++ linux-2.6.12-rc3/drivers/scsi/scsi.c 2005-04-29 17:05:18.406145282 -0700 @@ -542,7 +542,7 @@ int scsi_dispatch_cmd(struct scsi_cmnd * * that the device is no longer present */ cmd->result = DID_NO_CONNECT << 16; atomic_inc(&cmd->device->iorequest_cnt); - scsi_done(cmd); + __scsi_done(cmd); /* return 0 (because the command has been processed) */ goto out; }