From e4ac7040a8251e460678df983fa189204a117201 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 20 May 2008 09:32:14 +0000 Subject: [PATCH] Patch from Bart Van Assche : 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 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@378 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_main.c | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index a024724be..3ddbb9bf7 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -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; - } + 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)) { + 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; - } + 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)) { + 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);