Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254360
b: refs/heads/master
c: 18d3d72
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Skirvin authored and Dan Williams committed Jul 3, 2011
1 parent 4781a55 commit 5381374
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 5409bc3a20b239d1b3919db451ee4f6513e64ed1
refs/heads/master: 18d3d72a42a846d46b71131982c51d63eba2b7b3
11 changes: 7 additions & 4 deletions trunk/drivers/scsi/isci/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,13 +631,16 @@ static void isci_request_cleanup_completed_loiterer(
struct isci_remote_device *isci_device,
struct isci_request *isci_request)
{
struct sas_task *task = isci_request_access_task(isci_request);
unsigned long flags;
struct sas_task *task;
unsigned long flags;

task = (isci_request->ttype == io_task)
? isci_request_access_task(isci_request)
: NULL;

dev_dbg(&isci_host->pdev->dev,
"%s: isci_device=%p, request=%p, task=%p\n",
__func__, isci_device, isci_request,
isci_request->ttype_ptr.io_task_ptr);
__func__, isci_device, isci_request, task);

spin_lock_irqsave(&isci_host->scic_lock, flags);
list_del_init(&isci_request->dev_node);
Expand Down

0 comments on commit 5381374

Please sign in to comment.