]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Return the fabric command state for non-task management requests
authorDilip Kumar Uppugandla <dilip@purestorage.com>
Tue, 21 Jul 2015 22:07:55 +0000 (15:07 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 26 Aug 2015 23:31:58 +0000 (16:31 -0700)
commit46e7abac7b4bbe49197192aa49aa75186a362ea5
tree538781200ba7b67cd3dfbc259fff328405e5d97f
parent3771c2285a021f2d31d82c588991e09529076de3
qla2xxx: Return the fabric command state for non-task management requests

Invoking get_cmd_state for qla2xxx always returns 0. Instead change it
to return the actual fabric state from qla_tgt_cmd. This will help with
debugging.

Signed-off-by: Dilip Kumar Uppugandla <dilip@purestorage.com>
Signed-off-by: Spencer Baugh <sbaugh@catern.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/tcm_qla2xxx.c