summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJames Smart <james.smart@broadcom.com>2020-09-17 13:33:22 -0700
committerChristoph Hellwig <hch@lst.de>2020-09-22 17:49:55 +0200
commit9e0e8dac985d4bd07d9e62922b9d189d3ca2fccf (patch)
tree5ab3de4139045b52ac88d6faa904cdd3bc3af8da /drivers/media
parent50b7c24390a53c78de546215282fb52980f1d7b7 (diff)
downloadlinux-9e0e8dac985d4bd07d9e62922b9d189d3ca2fccf.tar.bz2
nvme-fc: fail new connections to a deleted host or remote port
The lldd may have made calls to delete a remote port or local port and the delete is in progress when the cli then attempts to create a new controller. Currently, this proceeds without error although it can't be very successful. Fix this by validating that both the host port and remote port are present when a new controller is to be created. Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions