Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286326
b: refs/heads/master
c: cced504
h: refs/heads/master
v: v3
  • Loading branch information
Stratos Psomadakis authored and James Bottomley committed Jan 10, 2012
1 parent ae0e15b commit 7e52d22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9fc397fc0878c9540af20cbffc4d546541fe8b23
refs/heads/master: cced5041ed5a2d1352186510944b0ddfbdbe4c0b
4 changes: 4 additions & 0 deletions trunk/drivers/scsi/sym53c8xx_2/sym_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,10 @@ static void sym53c8xx_slave_destroy(struct scsi_device *sdev)
struct sym_lcb *lp = sym_lp(tp, sdev->lun);
unsigned long flags;

/* if slave_alloc returned before allocating a sym_lcb, return */
if (!lp)
return;

spin_lock_irqsave(np->s.host->host_lock, flags);

if (lp->busy_itlq || lp->busy_itl) {
Expand Down

0 comments on commit 7e52d22

Please sign in to comment.