Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68929
b: refs/heads/master
c: a57b1fc
h: refs/heads/master
i:
  68927: 73b8759
v: v3
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Oct 12, 2007
1 parent a7e1c04 commit 7e19edf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 31765d7d3da9bb575f80faecae0b931afa3532c6
refs/heads/master: a57b1fccdfa65b78481f5e651833d979e545de04
5 changes: 4 additions & 1 deletion trunk/drivers/scsi/scsi_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1799,6 +1799,7 @@ static int do_scan_async(void *_data)
**/
void scsi_scan_host(struct Scsi_Host *shost)
{
struct task_struct *p;
struct async_scan_data *data;

if (strncmp(scsi_scan_type, "none", 4) == 0)
Expand All @@ -1810,7 +1811,9 @@ void scsi_scan_host(struct Scsi_Host *shost)
return;
}

kthread_run(do_scan_async, data, "scsi_scan_%d", shost->host_no);
p = kthread_run(do_scan_async, data, "scsi_scan_%d", shost->host_no);
if (unlikely(IS_ERR(p)))
do_scan_async(data);
}
EXPORT_SYMBOL(scsi_scan_host);

Expand Down

0 comments on commit 7e19edf

Please sign in to comment.