]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: qla2xxx: Allow MBC_GET_PORT_DATABASE to query and save the port states
authorDuane Grigsby <duane.grigsby@cavium.com>
Fri, 13 Oct 2017 16:34:05 +0000 (09:34 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Oct 2017 02:56:21 +0000 (22:56 -0400)
commitc0c462c8a061658ce5ae53c423b2a14bb280c2ab
tree1cb6c093ad79faa9cbd931990d24478fc35d2e31
parentc955886962a280eb90b6bde87448ee99c467c0b3
scsi: qla2xxx: Allow MBC_GET_PORT_DATABASE to query and save the port states

The MBC_GET_PORT_DATABASE command normally checks the port state
information. This patch allows it to save that info in the fcport
structure and ignore the check if the query flag is set.

[mkp: typo]

Signed-off-by: Duane Grigsby <duane.grigsby@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_mbx.c