nvmet_fc: correct logic in disconnect queue LS handling
authorJames Smart <[email protected]>
Sat, 24 Dec 2016 17:46:43 +0000 (09:46 -0800)
committerSagi Grimberg <[email protected]>
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 <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
drivers/nvme/target/fc.c