]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Handle device mapping changes due to device logout.
authorArun Easi <arun.easi@qlogic.com>
Wed, 11 Apr 2012 06:55:38 +0000 (12:25 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:40:59 +0000 (17:40 -0700)
commit59f0523b3ccfd1eb8cc1c2e412ac5fb424b8b50d
tree95739090720387fc3d9d48c7650defbf93ebf0ba
parent71987f878893b3d9b19ce235187362607a957ad2
qla2xxx: Handle device mapping changes due to device logout.

A device logout sent in the delete path of a fcport would clear the
port handle binding inside the firmware. This could lead to queued
work items for the fcport, if any, getting incorrect results. This
patch fixes the issue by checking for device name changes after a
call to get port database.

JIRA Key: V2632FC-131

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_mbx.c