]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] be2iscsi: Fix session update context with V2 version.
authorJohn Soni Jose <sony.john-n@emulex.com>
Fri, 19 Oct 2012 23:14:35 +0000 (04:44 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:40 +0000 (08:59 +0400)
commitacb9693cb007e126fd313cb696dfbf5c214514cd
tree5d98e790384346133f81336052b3657da8f01143
parent09a1093a292aa88af836f4fb3b604af9aa1ece3d
[SCSI] be2iscsi: Fix session update context with V2 version.

For updating session context on adapter, V2 version is to
be used with the latest adapter. This fix checks for the adapter type
and uses correct version of session context.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_iscsi.c
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_main.h
drivers/scsi/be2iscsi/be_mgmt.c
drivers/scsi/be2iscsi/be_mgmt.h