mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-28 09:20:18 +00:00
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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user