summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/core.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2018-06-13 14:07:38 -0700
committerChristoph Hellwig <hch@lst.de>2018-06-14 17:01:01 +0200
commit3e493c00cedb457c0731399a835f7ba1c6df172b (patch)
tree361f4445613dc57ec439ff0347fcf69a91a664f0 /drivers/nvme/host/core.c
parent587331f71e2748371526597cafc72e5732c67e88 (diff)
nvme-fc: fix nulling of queue data on reconnect
The reconnect path is calling the init routines to clear a queue structure. But the queue structure has state that perhaps needs to persist as long as the controller is live. Remove the nvme_fc_init_queue() calls on reconnect. The nvme_fc_free_queue() calls will clear state bits and reset any relevant queue state for a new connection. Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/core.c')
0 files changed, 0 insertions, 0 deletions