mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Follow up for r5704: NO SENSE is also valid sense
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5707 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3475,7 +3475,7 @@ static bool scst_check_auto_sense(struct scst_cmd *cmd)
|
||||
TRACE_ENTRY();
|
||||
|
||||
if (unlikely(cmd->status == SAM_STAT_CHECK_CONDITION) &&
|
||||
(!scst_sense_valid(cmd->sense) || scst_no_sense(cmd->sense))) {
|
||||
!scst_sense_valid(cmd->sense)) {
|
||||
if (!test_bit(SCST_CMD_ABORTED, &cmd->cmd_flags)) {
|
||||
TRACE(TRACE_SCSI|TRACE_MINOR_AND_MGMT_DBG,
|
||||
"CHECK_CONDITION, but no sense: cmd->status=%x, "
|
||||
|
||||
Reference in New Issue
Block a user