mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 19:51:27 +00:00
Patch from Bart Van Assche <bart.vanassche@gmail.com>:
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: http://svn.code.sf.net/p/scst/svn/trunk@378 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user