nvme-fcloop: fix inconsistent lock state warnings
authorJames Smart <jsmart2021@gmail.com>
Thu, 20 Jun 2019 20:07:00 +0000 (13:07 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Jul 2019 20:16:09 +0000 (13:16 -0700)
commitc38dbbfab1bc47b0f3a1eceea0fa45e44c477092
tree8cc24ac7d483d269fc44129fa5bfc57bc10c6dad
parentc9b3007feca018d3f7061f5d5a14cb00766ffe9b
nvme-fcloop: fix inconsistent lock state warnings

With extra debug on, inconsistent lock state warnings are being called
out as the tfcp_req->reqlock is being taken out without irq, while some
calling sequences have the sequence in a softirq state.

Change the lock taking/release to raise/drop irq.

Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/fcloop.c