More unexisting LUNs handling fixes

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1843 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-07-19 17:48:14 +00:00
parent 7cca01ae41
commit 9562e5679b
+2
View File
@@ -856,6 +856,7 @@ static int scst_set_lun_not_supported_request_sense(struct scst_cmd *cmd,
TRACE_BUFFER("Sense set", sg_virt(cmd->sg), sense_len);
cmd->data_direction = SCST_DATA_READ;
scst_set_resp_data_len(cmd, sense_len);
res = 0;
@@ -905,6 +906,7 @@ static int scst_set_lun_not_supported_inquiry(struct scst_cmd *cmd)
TRACE_BUFFER("INQUIRY for not supported LUN set", buf, len);
cmd->data_direction = SCST_DATA_READ;
scst_set_resp_data_len(cmd, len);
res = 0;