mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 22:56:32 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user