Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[sfrench/cifs-2.6.git] / drivers / scsi / device_handler / scsi_dh_alua.c
index a7a4a772f501bd7c442e054f11f6742156dd2af9..f0066f8a17864ab94a5fe86ff15093f77be784f6 100644 (file)
@@ -1160,10 +1160,8 @@ static int __init alua_init(void)
        int r;
 
        kaluad_wq = alloc_workqueue("kaluad", WQ_MEM_RECLAIM, 0);
-       if (!kaluad_wq) {
-               /* Temporary failure, bypass */
-               return SCSI_DH_DEV_TEMP_BUSY;
-       }
+       if (!kaluad_wq)
+               return -ENOMEM;
 
        r = scsi_register_device_handler(&alua_dh);
        if (r != 0) {