Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14705
b: refs/heads/master
c: 458af54
h: refs/heads/master
i:
  14703: e2d2ab2
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Nov 28, 2005
1 parent 1b8ea83 commit ee954b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 2012a116d9e6803fb072d0cfe1aae0cc4e6d6416
refs/heads/master: 458af5439fe7ae7d95ca14106844e61f0795166c
9 changes: 5 additions & 4 deletions trunk/drivers/scsi/dpt_i2o.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ static int adpt_hba_reset(adpt_hba* pHba)
static void adpt_i2o_sys_shutdown(void)
{
adpt_hba *pHba, *pNext;
struct adpt_i2o_post_wait_data *p1, *p2;
struct adpt_i2o_post_wait_data *p1, *old;

printk(KERN_INFO"Shutting down Adaptec I2O controllers.\n");
printk(KERN_INFO" This could take a few minutes if there are many devices attached\n");
Expand All @@ -830,13 +830,14 @@ static void adpt_i2o_sys_shutdown(void)
}

/* Remove any timedout entries from the wait queue. */
p2 = NULL;
// spin_lock_irqsave(&adpt_post_wait_lock, flags);
/* Nothing should be outstanding at this point so just
* free them
*/
for(p1 = adpt_post_wait_queue; p1; p2 = p1, p1 = p2->next) {
kfree(p1);
for(p1 = adpt_post_wait_queue; p1;) {
old = p1;
p1 = p1->next;
kfree(old);
}
// spin_unlock_irqrestore(&adpt_post_wait_lock, flags);
adpt_post_wait_queue = NULL;
Expand Down

0 comments on commit ee954b7

Please sign in to comment.