From 96295c735a234062ab77b17c6e035819f63f2fdc Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 16 Jan 2015 03:53:29 +0000 Subject: [PATCH] Report during user devices unjam LUN NOT SUPPORTED sense Reported-By: shahar.salzman git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5971 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_user.c b/scst/src/dev_handlers/scst_user.c index 907f0032c..5dabae13d 100644 --- a/scst/src/dev_handlers/scst_user.c +++ b/scst/src/dev_handlers/scst_user.c @@ -2260,7 +2260,7 @@ static void dev_user_unjam_cmd(struct scst_user_cmd *ucmd, int busy, scst_set_busy(ucmd->cmd); else scst_set_cmd_error(ucmd->cmd, - SCST_LOAD_SENSE(scst_sense_internal_failure)); + SCST_LOAD_SENSE(scst_sense_lun_not_supported)); } scst_set_cmd_abnormal_done_state(ucmd->cmd); @@ -2291,7 +2291,7 @@ static void dev_user_unjam_cmd(struct scst_user_cmd *ucmd, int busy, scst_set_busy(ucmd->cmd); else scst_set_cmd_error(ucmd->cmd, - SCST_LOAD_SENSE(scst_sense_internal_failure)); + SCST_LOAD_SENSE(scst_sense_lun_not_supported)); } ucmd->cmd->scst_cmd_done(ucmd->cmd, SCST_CMD_STATE_DEFAULT,