nvme-fc: fix missing put reference on controller create failure
authorJames Smart <jsmart2021@gmail.com>
Mon, 5 Jun 2017 22:03:42 +0000 (15:03 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 7 Jun 2017 09:08:53 +0000 (11:08 +0200)
commit24b7f0592f738a1127c72dbf5b72a83997dd6997
treefe30ce180689a7c2c91334e5fc801017f7188f74
parentf874d5d079ec35158fa1a1509554c9d641bd5770
nvme-fc: fix missing put reference on controller create failure

The failure case, of a create controller request, called
nvme_uninit_ctrl() but didn't do a put to allow the nvme
controller to be deleted.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c