Commit a18dd470 authored by Théotime Grohens's avatar Théotime Grohens Committed by Greg Kroah-Hartman

Staging: lustre: lnet: selftest: lconctl.c: fixed indentation of the switch

Signed-off-by: default avatarThéotime Grohens <theotime.grohens@ens.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c209069e
...@@ -857,62 +857,62 @@ lstcon_ioctl_entry(unsigned int cmd, struct libcfs_ioctl_data *data) ...@@ -857,62 +857,62 @@ lstcon_ioctl_entry(unsigned int cmd, struct libcfs_ioctl_data *data)
memset(&console_session.ses_trans_stat, 0, sizeof(lstcon_trans_stat_t)); memset(&console_session.ses_trans_stat, 0, sizeof(lstcon_trans_stat_t));
switch (opc) { switch (opc) {
case LSTIO_SESSION_NEW: case LSTIO_SESSION_NEW:
rc = lst_session_new_ioctl((lstio_session_new_args_t *)buf); rc = lst_session_new_ioctl((lstio_session_new_args_t *)buf);
break; break;
case LSTIO_SESSION_END: case LSTIO_SESSION_END:
rc = lst_session_end_ioctl((lstio_session_end_args_t *)buf); rc = lst_session_end_ioctl((lstio_session_end_args_t *)buf);
break; break;
case LSTIO_SESSION_INFO: case LSTIO_SESSION_INFO:
rc = lst_session_info_ioctl((lstio_session_info_args_t *)buf); rc = lst_session_info_ioctl((lstio_session_info_args_t *)buf);
break; break;
case LSTIO_DEBUG: case LSTIO_DEBUG:
rc = lst_debug_ioctl((lstio_debug_args_t *)buf); rc = lst_debug_ioctl((lstio_debug_args_t *)buf);
break; break;
case LSTIO_GROUP_ADD: case LSTIO_GROUP_ADD:
rc = lst_group_add_ioctl((lstio_group_add_args_t *)buf); rc = lst_group_add_ioctl((lstio_group_add_args_t *)buf);
break; break;
case LSTIO_GROUP_DEL: case LSTIO_GROUP_DEL:
rc = lst_group_del_ioctl((lstio_group_del_args_t *)buf); rc = lst_group_del_ioctl((lstio_group_del_args_t *)buf);
break; break;
case LSTIO_GROUP_UPDATE: case LSTIO_GROUP_UPDATE:
rc = lst_group_update_ioctl((lstio_group_update_args_t *)buf); rc = lst_group_update_ioctl((lstio_group_update_args_t *)buf);
break; break;
case LSTIO_NODES_ADD: case LSTIO_NODES_ADD:
rc = lst_nodes_add_ioctl((lstio_group_nodes_args_t *)buf); rc = lst_nodes_add_ioctl((lstio_group_nodes_args_t *)buf);
break; break;
case LSTIO_GROUP_LIST: case LSTIO_GROUP_LIST:
rc = lst_group_list_ioctl((lstio_group_list_args_t *)buf); rc = lst_group_list_ioctl((lstio_group_list_args_t *)buf);
break; break;
case LSTIO_GROUP_INFO: case LSTIO_GROUP_INFO:
rc = lst_group_info_ioctl((lstio_group_info_args_t *)buf); rc = lst_group_info_ioctl((lstio_group_info_args_t *)buf);
break; break;
case LSTIO_BATCH_ADD: case LSTIO_BATCH_ADD:
rc = lst_batch_add_ioctl((lstio_batch_add_args_t *)buf); rc = lst_batch_add_ioctl((lstio_batch_add_args_t *)buf);
break; break;
case LSTIO_BATCH_START: case LSTIO_BATCH_START:
rc = lst_batch_run_ioctl((lstio_batch_run_args_t *)buf); rc = lst_batch_run_ioctl((lstio_batch_run_args_t *)buf);
break; break;
case LSTIO_BATCH_STOP: case LSTIO_BATCH_STOP:
rc = lst_batch_stop_ioctl((lstio_batch_stop_args_t *)buf); rc = lst_batch_stop_ioctl((lstio_batch_stop_args_t *)buf);
break; break;
case LSTIO_BATCH_QUERY: case LSTIO_BATCH_QUERY:
rc = lst_batch_query_ioctl((lstio_batch_query_args_t *)buf); rc = lst_batch_query_ioctl((lstio_batch_query_args_t *)buf);
break; break;
case LSTIO_BATCH_LIST: case LSTIO_BATCH_LIST:
rc = lst_batch_list_ioctl((lstio_batch_list_args_t *)buf); rc = lst_batch_list_ioctl((lstio_batch_list_args_t *)buf);
break; break;
case LSTIO_BATCH_INFO: case LSTIO_BATCH_INFO:
rc = lst_batch_info_ioctl((lstio_batch_info_args_t *)buf); rc = lst_batch_info_ioctl((lstio_batch_info_args_t *)buf);
break; break;
case LSTIO_TEST_ADD: case LSTIO_TEST_ADD:
rc = lst_test_add_ioctl((lstio_test_args_t *)buf); rc = lst_test_add_ioctl((lstio_test_args_t *)buf);
break; break;
case LSTIO_STAT_QUERY: case LSTIO_STAT_QUERY:
rc = lst_stat_query_ioctl((lstio_stat_args_t *)buf); rc = lst_stat_query_ioctl((lstio_stat_args_t *)buf);
break; break;
default: default:
rc = -EINVAL; rc = -EINVAL;
} }
if (copy_to_user(data->ioc_pbuf2, &console_session.ses_trans_stat, if (copy_to_user(data->ioc_pbuf2, &console_session.ses_trans_stat,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment