Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286290
b: refs/heads/master
c: aba2080
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Wilcox committed Nov 4, 2011
1 parent 27f7b99 commit 26ee17f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7f53f9d2424533256ae86f7df5661a17de743de8
refs/heads/master: aba2080f3f1639f9202f1a52993669844abcfb80
4 changes: 3 additions & 1 deletion trunk/drivers/block/nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,10 @@ static int adapter_delete_sq(struct nvme_dev *dev, u16 sqid)
static void nvme_free_queue(struct nvme_dev *dev, int qid)
{
struct nvme_queue *nvmeq = dev->queues[qid];
int vector = dev->entry[nvmeq->cq_vector].vector;

free_irq(dev->entry[nvmeq->cq_vector].vector, nvmeq);
irq_set_affinity_hint(vector, NULL);
free_irq(vector, nvmeq);

/* Don't tell the adapter to delete the admin queue */
if (qid) {
Expand Down

0 comments on commit 26ee17f

Please sign in to comment.