]> 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)
commit611ad6a4625bb197f5b2418221a1d1343561b514
treefe30ce180689a7c2c91334e5fc801017f7188f74
parent3aa7e68dcec08ca0918aab015ff32d1e3660cae6
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