nvmet_fc: correct logic in disconnect queue LS handling
authorJames Smart <jsmart2021@gmail.com>
Sat, 24 Dec 2016 17:46:43 +0000 (09:46 -0800)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 26 Jan 2017 15:44:21 +0000 (17:44 +0200)
commitc81e55e057b6458aac6d96a6429ef021b7f6f62c
tree9d3dd67ad9a00eb8fac19321dd314ac10ae9327c
parentd61b7f972dab2a7d187c38254845546dfc8eed85
nvmet_fc: correct logic in disconnect queue LS handling

Correct logic in disconnect queue LS handling.
Rework so that queue searching and error reporting is above the
section to send back a ls rjt

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/target/fc.c