mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 22:26:23 +00:00
Internal REQUEST SENSE: NO SENSE is also valid sense
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -5091,7 +5091,7 @@ static void scst_complete_request_sense(struct scst_cmd *req_cmd)
|
||||
len = scst_get_buf_full(req_cmd, &buf);
|
||||
|
||||
if (scsi_status_is_good(req_cmd->status) && (len > 0) &&
|
||||
scst_sense_valid(buf) && !scst_no_sense(buf)) {
|
||||
scst_sense_valid(buf)) {
|
||||
TRACE(TRACE_SCSI|TRACE_MGMT_DEBUG, "REQUEST SENSE %p returned "
|
||||
"valid sense", req_cmd);
|
||||
PRINT_BUFF_FLAG(TRACE_SCSI|TRACE_MGMT_DEBUG, "Sense", buf, len);
|
||||
|
||||
Reference in New Issue
Block a user