]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: ensure association_id is cleared regardless of a Disconnect LS
authorJames Smart <jsmart2021@gmail.com>
Fri, 27 Sep 2019 21:27:22 +0000 (14:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 Nov 2019 17:56:40 +0000 (10:56 -0700)
commite5a5eac7c48d31565e5265426ed5104d6e9645f1
tree23c5ef1292a4c87c68f60db746a0a2ae2ac1aea1
parent132c17924769860375b54c10e6b1154b7eb9aef0
nvme-fc: ensure association_id is cleared regardless of a Disconnect LS

Code today only clears the association_id if a Disconnect LS is transmit.

Remove ambiguity and unconditionally clear the association_id if the
association has been terminated.

Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/fc.c