Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361973
b: refs/heads/master
c: 1ebfd10
h: refs/heads/master
i:
  361971: 845e700
v: v3
  • Loading branch information
Philip J Kelleher authored and Jens Axboe committed Mar 11, 2013
1 parent af1de79 commit f7b742c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 9bb3c4469e317919b0fde8c0e0a3ebe7bd2cf167
refs/heads/master: 1ebfd109822ea35b71aee4efe9ddc2e1b9ac0ed7
7 changes: 4 additions & 3 deletions trunk/drivers/block/rsxx/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,9 +538,6 @@ static void rsxx_pci_remove(struct pci_dev *dev)
rsxx_disable_ier_and_isr(card, CR_INTR_EVENT);
spin_unlock_irqrestore(&card->irq_lock, flags);

/* Prevent work_structs from re-queuing themselves. */
card->halt = 1;

cancel_work_sync(&card->event_work);

rsxx_destroy_dev(card);
Expand All @@ -549,6 +546,10 @@ static void rsxx_pci_remove(struct pci_dev *dev)
spin_lock_irqsave(&card->irq_lock, flags);
rsxx_disable_ier_and_isr(card, CR_INTR_ALL);
spin_unlock_irqrestore(&card->irq_lock, flags);

/* Prevent work_structs from re-queuing themselves. */
card->halt = 1;

free_irq(dev->irq, card);

if (!force_legacy)
Expand Down

0 comments on commit f7b742c

Please sign in to comment.