Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86181
b: refs/heads/master
c: ff83efa
h: refs/heads/master
i:
  86179: ea99072
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed Feb 18, 2008
1 parent f472601 commit 4867689
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 279e7f5425c5e6da6ca61b1d8576356a939789f9
refs/heads/master: ff83efacf2b77a1fe8942db6613825a4b80ee5e2
6 changes: 2 additions & 4 deletions trunk/drivers/scsi/gdth_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,15 +694,13 @@ static void gdth_ioctl_free(gdth_ha_str *ha, int size, char *buf, ulong64 paddr)
{
ulong flags;

spin_lock_irqsave(&ha->smp_lock, flags);

if (buf == ha->pscratch) {
spin_lock_irqsave(&ha->smp_lock, flags);
ha->scratch_busy = FALSE;
spin_unlock_irqrestore(&ha->smp_lock, flags);
} else {
pci_free_consistent(ha->pdev, size, buf, paddr);
}

spin_unlock_irqrestore(&ha->smp_lock, flags);
}

#ifdef GDTH_IOCTL_PROC
Expand Down

0 comments on commit 4867689

Please sign in to comment.