Comment 9 for bug 595438

Revision history for this message
Коренберг Марк (socketpair) wrote :

/* Helper function for command completion. */
static void scsi_command_complete(SCSIDiskReq *r, int status, int sense)
{
    DPRINTF("Command complete tag=0x%x status=%d sense=%d\n",
            r->req.tag, status, sense);
    scsi_req_set_status(&r->req, status, sense);
    scsi_req_complete(&r->req); // <--------- this is line #105 in my sources.
    scsi_remove_request(r);
}

What to do next?