]> asedeno.scripts.mit.edu Git - linux.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)
commitbcde5f0fc7d318c98d4234b52bcc1a87fc2162d9
tree23c5ef1292a4c87c68f60db746a0a2ae2ac1aea1
parent7db394848ece0e0706dfe8e4940b24e949f3b88f
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