]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: lustre: lnet: change lstio_debug_args_t to proper structure
authorJames Simmons <jsimmons@infradead.org>
Mon, 16 Jan 2017 21:30:16 +0000 (16:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 10:10:15 +0000 (11:10 +0100)
Change lstio_debug_args_t from typedef to proper structure.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142
Reviewed-on: https://review.whamcloud.com/24188
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/lnetst.h
drivers/staging/lustre/lnet/selftest/conctl.c

index dbcfc1fb6855a2bcea29c952fe69c67fbd00a890..03ebdc3e7a9a035f951ed515234623bcc6443a2a 100644 (file)
@@ -272,7 +272,7 @@ struct lstio_session_end_args {
 #define LST_OPC_BATCHCLI       4
 #define LST_OPC_BATCHSRV       5
 
-typedef struct {
+struct lstio_debug_args {
        int                      lstio_dbg_key;         /* IN: session key */
        int                      lstio_dbg_type;        /* IN: debug
                                                                session|batch|
@@ -291,7 +291,7 @@ typedef struct {
                                                               nodes */
        struct list_head __user *lstio_dbg_resultp;     /* OUT: list head of
                                                                result buffer */
-} lstio_debug_args_t;
+};
 
 typedef struct {
        int              lstio_grp_key;         /* IN: session key */
index 32174472667ec52ad09e50ca3cf7bae15f68c270..e143e52ecfa6f731bbee2bbf1eda2101cbcb4e4f 100644 (file)
@@ -109,7 +109,7 @@ lst_session_info_ioctl(struct lstio_session_info_args *args)
 }
 
 static int
-lst_debug_ioctl(lstio_debug_args_t *args)
+lst_debug_ioctl(struct lstio_debug_args *args)
 {
        char *name = NULL;
        int client = 1;
@@ -864,7 +864,7 @@ lstcon_ioctl_entry(unsigned int cmd, struct libcfs_ioctl_hdr *hdr)
                rc = lst_session_info_ioctl((struct lstio_session_info_args *)buf);
                break;
        case LSTIO_DEBUG:
-               rc = lst_debug_ioctl((lstio_debug_args_t *)buf);
+               rc = lst_debug_ioctl((struct lstio_debug_args *)buf);
                break;
        case LSTIO_GROUP_ADD:
                rc = lst_group_add_ioctl((lstio_group_add_args_t *)buf);