Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261713
b: refs/heads/master
c: 5911e96
h: refs/heads/master
i:
  261711: af70a55
v: v3
  • Loading branch information
Luben Tuikov authored and James Bottomley committed Jul 27, 2011
1 parent 37ce2e7 commit 4e764a0
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e17035851ab8417bda890ab1e77f5ca121bbaa0b
refs/heads/master: 5911e963d3718e306bcac387b83e259aa4228896
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/libsas/sas_expander.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,9 @@ static struct domain_device *sas_ex_discover_expander(

res = sas_discover_expander(child);
if (res) {
spin_lock_irq(&parent->port->dev_list_lock);
list_del(&child->dev_list_node);
spin_unlock_irq(&parent->port->dev_list_lock);
kfree(child);
return NULL;
}
Expand Down

0 comments on commit 4e764a0

Please sign in to comment.