linux-stable/drivers/nvme
Daniel Wagner 6d338fb1a1 nvmet-fc: abort command when there is no binding
[ Upstream commit 3146345c2e ]

When the target port has not active port binding, there is no point in
trying to process the command as it has to fail anyway. Instead adding
checks to all commands abort the command early.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-01 13:13:34 +01:00
..
host nvme: introduce helper function to get ctrl state 2024-01-25 14:34:19 -08:00
target nvmet-fc: abort command when there is no binding 2024-03-01 13:13:34 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00