Fixed minor iSCSI standard violation

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@480 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-07-28 11:08:32 +00:00
parent 65a0818201
commit e678ead347
2 changed files with 2 additions and 2 deletions

View File

@@ -1913,7 +1913,7 @@ static void execute_task_management(struct iscsi_cmnd *req)
break;
case ISCSI_FUNCTION_TASK_REASSIGN:
rc = -1;
status = ISCSI_RESPONSE_FUNCTION_UNSUPPORTED;
status = ISCSI_RESPONSE_ALLEGIANCE_REASSIGNMENT_UNSUPPORTED;
break;
default:
PRINT_ERROR("Unknown TM function %d", function);

View File

@@ -206,7 +206,7 @@ struct iscsi_task_rsp_hdr {
#define ISCSI_RESPONSE_UNKNOWN_TASK 1
#define ISCSI_RESPONSE_UNKNOWN_LUN 2
#define ISCSI_RESPONSE_TASK_ALLEGIANT 3
#define ISCSI_RESPONSE_FAILOVER_UNSUPPORTED 4
#define ISCSI_RESPONSE_ALLEGIANCE_REASSIGNMENT_UNSUPPORTED 4
#define ISCSI_RESPONSE_FUNCTION_UNSUPPORTED 5
#define ISCSI_RESPONSE_NO_AUTHORIZATION 6
#define ISCSI_RESPONSE_FUNCTION_REJECTED 255