Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293005
b: refs/heads/master
c: 3a9c556
h: refs/heads/master
i:
  293003: 5ffa99b
v: v3
  • Loading branch information
Dan Williams authored and James Bottomley committed Feb 29, 2012
1 parent e8c37b6 commit d4c6f32
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 0508c2f3b701f3cd8ed52b2a4abbb2a670f69ce2
refs/heads/master: 3a9c5560f677690f65038f399f4f598c79b83186
5 changes: 5 additions & 0 deletions trunk/drivers/scsi/libsas/sas_expander.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ static int smp_execute_task(struct domain_device *dev, void *req, int req_size,

mutex_lock(&dev->ex_dev.cmd_mutex);
for (retry = 0; retry < 3; retry++) {
if (test_bit(SAS_DEV_GONE, &dev->state)) {
res = -ECOMM;
break;
}

task = sas_alloc_task(GFP_KERNEL);
if (!task) {
res = -ENOMEM;
Expand Down

0 comments on commit d4c6f32

Please sign in to comment.