Staging: lustre: lnet: selftest: lconctl.c: fixed indentation of the switch
authorThéotime Grohens <theotime.grohens@ens.fr>
Thu, 2 Apr 2015 14:24:36 +0000 (16:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 09:15:44 +0000 (11:15 +0200)
Signed-off-by: Théotime Grohens <theotime.grohens@ens.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/conctl.c

index 371a54d..045fe29 100644 (file)
@@ -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));
 
        switch (opc) {
-               case LSTIO_SESSION_NEW:
-                       rc = lst_session_new_ioctl((lstio_session_new_args_t *)buf);
-                       break;
-               case LSTIO_SESSION_END:
-                       rc = lst_session_end_ioctl((lstio_session_end_args_t *)buf);
-                       break;
-               case LSTIO_SESSION_INFO:
-                       rc = lst_session_info_ioctl((lstio_session_info_args_t *)buf);
-                       break;
-               case LSTIO_DEBUG:
-                       rc = lst_debug_ioctl((lstio_debug_args_t *)buf);
-                       break;
-               case LSTIO_GROUP_ADD:
-                       rc = lst_group_add_ioctl((lstio_group_add_args_t *)buf);
-                       break;
-               case LSTIO_GROUP_DEL:
-                       rc = lst_group_del_ioctl((lstio_group_del_args_t *)buf);
-                       break;
-               case LSTIO_GROUP_UPDATE:
-                       rc = lst_group_update_ioctl((lstio_group_update_args_t *)buf);
-                       break;
-               case LSTIO_NODES_ADD:
-                       rc = lst_nodes_add_ioctl((lstio_group_nodes_args_t *)buf);
-                       break;
-               case LSTIO_GROUP_LIST:
-                       rc = lst_group_list_ioctl((lstio_group_list_args_t *)buf);
-                       break;
-               case LSTIO_GROUP_INFO:
-                       rc = lst_group_info_ioctl((lstio_group_info_args_t *)buf);
-                       break;
-               case LSTIO_BATCH_ADD:
-                       rc = lst_batch_add_ioctl((lstio_batch_add_args_t *)buf);
-                       break;
-               case LSTIO_BATCH_START:
-                       rc = lst_batch_run_ioctl((lstio_batch_run_args_t *)buf);
-                       break;
-               case LSTIO_BATCH_STOP:
-                       rc = lst_batch_stop_ioctl((lstio_batch_stop_args_t *)buf);
-                       break;
-               case LSTIO_BATCH_QUERY:
-                       rc = lst_batch_query_ioctl((lstio_batch_query_args_t *)buf);
-                       break;
-               case LSTIO_BATCH_LIST:
-                       rc = lst_batch_list_ioctl((lstio_batch_list_args_t *)buf);
-                       break;
-               case LSTIO_BATCH_INFO:
-                       rc = lst_batch_info_ioctl((lstio_batch_info_args_t *)buf);
-                       break;
-               case LSTIO_TEST_ADD:
-                       rc = lst_test_add_ioctl((lstio_test_args_t *)buf);
-                       break;
-               case LSTIO_STAT_QUERY:
-                       rc = lst_stat_query_ioctl((lstio_stat_args_t *)buf);
-                       break;
-               default:
-                       rc = -EINVAL;
+       case LSTIO_SESSION_NEW:
+               rc = lst_session_new_ioctl((lstio_session_new_args_t *)buf);
+               break;
+       case LSTIO_SESSION_END:
+               rc = lst_session_end_ioctl((lstio_session_end_args_t *)buf);
+               break;
+       case LSTIO_SESSION_INFO:
+               rc = lst_session_info_ioctl((lstio_session_info_args_t *)buf);
+               break;
+       case LSTIO_DEBUG:
+               rc = lst_debug_ioctl((lstio_debug_args_t *)buf);
+               break;
+       case LSTIO_GROUP_ADD:
+               rc = lst_group_add_ioctl((lstio_group_add_args_t *)buf);
+               break;
+       case LSTIO_GROUP_DEL:
+               rc = lst_group_del_ioctl((lstio_group_del_args_t *)buf);
+               break;
+       case LSTIO_GROUP_UPDATE:
+               rc = lst_group_update_ioctl((lstio_group_update_args_t *)buf);
+               break;
+       case LSTIO_NODES_ADD:
+               rc = lst_nodes_add_ioctl((lstio_group_nodes_args_t *)buf);
+               break;
+       case LSTIO_GROUP_LIST:
+               rc = lst_group_list_ioctl((lstio_group_list_args_t *)buf);
+               break;
+       case LSTIO_GROUP_INFO:
+               rc = lst_group_info_ioctl((lstio_group_info_args_t *)buf);
+               break;
+       case LSTIO_BATCH_ADD:
+               rc = lst_batch_add_ioctl((lstio_batch_add_args_t *)buf);
+               break;
+       case LSTIO_BATCH_START:
+               rc = lst_batch_run_ioctl((lstio_batch_run_args_t *)buf);
+               break;
+       case LSTIO_BATCH_STOP:
+               rc = lst_batch_stop_ioctl((lstio_batch_stop_args_t *)buf);
+               break;
+       case LSTIO_BATCH_QUERY:
+               rc = lst_batch_query_ioctl((lstio_batch_query_args_t *)buf);
+               break;
+       case LSTIO_BATCH_LIST:
+               rc = lst_batch_list_ioctl((lstio_batch_list_args_t *)buf);
+               break;
+       case LSTIO_BATCH_INFO:
+               rc = lst_batch_info_ioctl((lstio_batch_info_args_t *)buf);
+               break;
+       case LSTIO_TEST_ADD:
+               rc = lst_test_add_ioctl((lstio_test_args_t *)buf);
+               break;
+       case LSTIO_STAT_QUERY:
+               rc = lst_stat_query_ioctl((lstio_stat_args_t *)buf);
+               break;
+       default:
+               rc = -EINVAL;
        }
 
        if (copy_to_user(data->ioc_pbuf2, &console_session.ses_trans_stat,