nvme_fc: remove extra controller reference taken on reconnect
authorJames Smart <jsmart2021@gmail.com>
Tue, 16 May 2017 00:10:22 +0000 (17:10 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 22 May 2017 18:55:29 +0000 (20:55 +0200)
commit2cb657bc0242dfdca20869685bf179774ef1a6fb
tree3ea1fd2d90506cfe922ea123668d5c56a182a74d
parente392e1f1f408fe8baf1046c970d05cbf1f0ec945
nvme_fc: remove extra controller reference taken on reconnect

fix extra controller reference taken on reconnect by moving
reference to initial controller create

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c