]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e7f67fc39067bd5a06ab27bb10109f68a57cb27
treefe30ce180689a7c2c91334e5fc801017f7188f74
parent5c3abd3d07be4f0af26fc6f4c536542dc4c5dc89
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