OSDN Git Service

[SCSI] Include protection operation in SCSI command trace
[uclinux-h8/linux.git] / drivers / scsi / scsi_lib.c
index 8d4ef8e..e531acf 100644 (file)
@@ -1062,6 +1062,7 @@ static struct scsi_cmnd *scsi_get_cmd_from_req(struct scsi_device *sdev,
        cmd->request = req;
 
        cmd->cmnd = req->cmd;
+       cmd->prot_op = SCSI_PROT_NORMAL;
 
        return cmd;
 }