From 44b646f9841735934bf1e68789448bcb71da8beb Mon Sep 17 00:00:00 2001 From: wwang Date: Mon, 31 Oct 2011 15:02:53 +0800 Subject: [PATCH] --- yaml --- r: 276316 b: refs/heads/master c: f7364ba04b0961f3a1f978bbe77102606801e35f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/rts_pstor/rtsx.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 345ddb0f652a..dc932b757b49 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 438957f8d4a84daa7fa5be6978ad5897a2e9e5e5 +refs/heads/master: f7364ba04b0961f3a1f978bbe77102606801e35f diff --git a/trunk/drivers/staging/rts_pstor/rtsx.c b/trunk/drivers/staging/rts_pstor/rtsx.c index 480b0ed2e4de..115635f95024 100644 --- a/trunk/drivers/staging/rts_pstor/rtsx.c +++ b/trunk/drivers/staging/rts_pstor/rtsx.c @@ -1021,6 +1021,7 @@ static int __devinit rtsx_probe(struct pci_dev *pci, th = kthread_create(rtsx_scan_thread, dev, "rtsx-scan"); if (IS_ERR(th)) { printk(KERN_ERR "Unable to start the device-scanning thread\n"); + complete(&dev->scanning_done); quiesce_and_remove_host(dev); err = PTR_ERR(th); goto errout;