nvmet-fc: release reference on target port
authorDaniel Wagner <dwagner@suse.de>
Wed, 31 Jan 2024 08:51:03 +0000 (09:51 +0100)
committerKeith Busch <kbusch@kernel.org>
Thu, 1 Feb 2024 15:44:46 +0000 (07:44 -0800)
commitc691e6d7e13dab81ac8c7489c83b5dea972522a5
treef96476801c7be431eba20ccc35e95f91dcfb7ac0
parentdcfad4ab4d6733f2861cd241d8532a0004fc835a
nvmet-fc: release reference on target port

In case we return early out of __nvmet_fc_finish_ls_req() we still have
to release the reference on the target port.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/fc.c