[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1233094047.6442.103.camel@haakon2.linux-iscsi.org>
Date: Tue, 27 Jan 2009 14:07:27 -0800
From: "Nicholas A. Bellinger" <nab@...ux-iscsi.org>
To: "Linux-iSCSI.org Target Dev"
<linux-iscsi-target-dev@...glegroups.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
linux-scsi <linux-scsi@...r.kernel.org>,
James Bottomley <James.Bottomley@...senPartnership.com>
Subject: [PATCH 2/4] [Target_Core_Mod]: Change RECEIVE_CREDENTIAL ->
VARIABLE_LENGTH_CMD
>>From f55bb2d93bc8bd37d18e99b19929c635016df537 Mon Sep 17 00:00:00 2001
From: Nicholas Bellinger <nab@...ux-iscsi.org>
Date: Tue, 27 Jan 2009 13:32:12 -0800
Subject: [PATCH 2/4] [Target_Core_Mod]: Change RECEIVE_CREDENTIAL -> VARIABLE_LENGTH_CMD
This patch changes transport_generic_cmd_sequencer() logic to use VARIABLE_LENGTH_CMD
instead of RECEIVE_CREDENTIAL, which is now defined as a VARIABLE_LENGTH_CMD
service action (VLC_SA_RECEIVE_CREDENTIAL) in linux/include/scsi/scsi.h
Signed-off-by: Nicholas A. Bellinger <nab@...ux-iscsi.org>
---
drivers/lio-core/target_core_transport.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/lio-core/target_core_transport.c b/drivers/lio-core/target_core_transport.c
index ad2dd75..a0a7710 100644
--- a/drivers/lio-core/target_core_transport.c
+++ b/drivers/lio-core/target_core_transport.c
@@ -4612,7 +4612,7 @@ static int transport_generic_cmd_sequencer (
transport_get_maps(cmd);
ret = 2;
break;
- case RECEIVE_CREDENTIAL:
+ case VARIABLE_LENGTH_CMD:
SET_GENERIC_TRANSPORT_FUNCTIONS(cmd);
size = (cdb[10] << 8) | cdb[11];
CMD_ORIG_OBJ_API(cmd)->get_mem_buf(cmd->se_orig_obj_ptr, cmd);
--
1.5.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists