]> err.no Git - linux-2.6/blobdiff - drivers/scsi/scsi.c
[SCSI] Add target alloc/destroy callbacks to the host template
[linux-2.6] / drivers / scsi / scsi.c
index 0d730f646bce895a2f7ef3cabd72a1335311b3d2..5578ae9a9e45f9f60c99f767e878799f58fda13a 100644 (file)
@@ -542,7 +542,7 @@ int scsi_dispatch_cmd(struct scsi_cmnd *cmd)
                 * 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;
        }