]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla4xxx: correctly update session discovery_parent_idx.
authorManish Rangankar <manish.rangankar@qlogic.com>
Tue, 17 Sep 2013 11:30:02 +0000 (07:30 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 08:57:58 +0000 (09:57 +0100)
commite35ab29bd829bc401aa8a413b44ca08485eae94d
treecc9d2f938c6e957016384e26f10a1e5c0d8be974
parentcf7dbff7113f732dc72361c46f1db8afd01fc2f1
[SCSI] qla4xxx: correctly update session discovery_parent_idx.

Earlier logic for driver created iscsi_session->discovery_parent_idx
was to store ram index of a sendtarget entry, but driver frees
sendtarget ram index as soon as firmware is done with discovery,
which is available for further use. So changing the logic to point
iscsi_session->discovery_parent_idx to store sendtarget flashnode index.

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_def.h
drivers/scsi/qla4xxx/ql4_os.c