]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/rts_pstor/rtsx.c
Merge branch 'master' of git+ssh://git.samba.org/data/git/sfrench/cifs-2.6
[karo-tx-linux.git] / drivers / staging / rts_pstor / rtsx.c
index 480b0ed2e4de8975ea315504190c5eff02e5ac59..115635f9502456d7e8e3f16470b7f4a269b23b5b 100644 (file)
@@ -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;