Patch from Bart Van Assche <bart.vanassche@gmail.com>:
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 20 May 2008 09:32:14 +0000 (09:32 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 20 May 2008 09:32:14 +0000 (09:32 +0000)
The patch below fixes statements that were indented by spaces are now indented by tabs.
The patch only contains whitespace changes -- after having applied the patch below, the
output of svn diff -x -w is still empty.

How this patch was tested:
- Verified that the output of svn diff -x -w is empty.
- Verified that the patch generated by generate-kernel-patch still applies
  cleanly to the 2.6.25.4 kernel, that the patched kernel still compiles
  and that the SCST modules load properly after having installed the newly
  compiled kernel and after having rebooted.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@378 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scst/src/scst_main.c

index a024724..3ddbb9b 100644 (file)
@@ -1312,36 +1312,36 @@ static int scst_start_all_threads(int num)
        TRACE_ENTRY();
 
        mutex_lock(&scst_threads_info.cmd_threads_mutex);
-        res = __scst_add_cmd_threads(num);
-        if (res < 0)
-                goto out;
+       res = __scst_add_cmd_threads(num);
+       if (res < 0)
+               goto out;
 
        scst_threads_info.init_cmd_thread = kthread_run(scst_init_cmd_thread,
-                NULL, "scsi_tgt_init");
-        if (IS_ERR(scst_threads_info.init_cmd_thread)) {
+               NULL, "scsi_tgt_init");
+       if (IS_ERR(scst_threads_info.init_cmd_thread)) {
                res = PTR_ERR(scst_threads_info.init_cmd_thread);
-                PRINT_ERROR("kthread_create() for init cmd failed: %d", res);
-                scst_threads_info.init_cmd_thread = NULL;
-                goto out;
-        }
-
-        scst_threads_info.mgmt_cmd_thread = kthread_run(scst_mgmt_cmd_thread,
-                NULL, "scsi_tgt_mc");
-        if (IS_ERR(scst_threads_info.mgmt_cmd_thread)) {
+               PRINT_ERROR("kthread_create() for init cmd failed: %d", res);
+               scst_threads_info.init_cmd_thread = NULL;
+               goto out;
+       }
+
+       scst_threads_info.mgmt_cmd_thread = kthread_run(scst_mgmt_cmd_thread,
+               NULL, "scsi_tgt_mc");
+       if (IS_ERR(scst_threads_info.mgmt_cmd_thread)) {
                res = PTR_ERR(scst_threads_info.mgmt_cmd_thread);
-                PRINT_ERROR("kthread_create() for mcmd failed: %d", res);
-                scst_threads_info.mgmt_cmd_thread = NULL;
-                goto out;
-        }
-
-        scst_threads_info.mgmt_thread = kthread_run(scst_mgmt_thread,
-                NULL, "scsi_tgt_mgmt");
-        if (IS_ERR(scst_threads_info.mgmt_thread)) {
+               PRINT_ERROR("kthread_create() for mcmd failed: %d", res);
+               scst_threads_info.mgmt_cmd_thread = NULL;
+               goto out;
+       }
+
+       scst_threads_info.mgmt_thread = kthread_run(scst_mgmt_thread,
+               NULL, "scsi_tgt_mgmt");
+       if (IS_ERR(scst_threads_info.mgmt_thread)) {
                res = PTR_ERR(scst_threads_info.mgmt_thread);
-                PRINT_ERROR("kthread_create() for mgmt failed: %d", res);
-                scst_threads_info.mgmt_thread = NULL;
-                goto out;
-        }
+               PRINT_ERROR("kthread_create() for mgmt failed: %d", res);
+               scst_threads_info.mgmt_thread = NULL;
+               goto out;
+       }
 
 out:
        mutex_unlock(&scst_threads_info.cmd_threads_mutex);