]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nvme-fc: drop ctrl for all command completions
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Mar 2017 11:41:31 +0000 (13:41 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 4 Apr 2017 15:48:23 +0000 (09:48 -0600)
commit4bca70d0673927a8bef4b1de5fd8ddc735698a6b
treeb50ce0d3468e45cd9d1e989eee55f0982bf1e9f0
parentf2cd54d3eba3a2048edcb91f145336180c55aee5
nvme-fc: drop ctrl for all command completions

A requeue means we go through nvme_fc_start_fcp_op again and get
another controller reference.  To make sure the refcount doesn't
leak we also need to drop it for every completion that came from
the LLDD.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/fc.c