diff options
author | James Simmons <jsimmons@infradead.org> | 2017-01-16 16:30:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 11:10:15 +0100 |
commit | cd9f7d7e29125f4cba8bae7cc8653c9e37533eb5 (patch) | |
tree | 14d507e509216e4b867708ca55eb66c000d30e5b /drivers/staging/lustre/include/linux/lnet/lnetst.h | |
parent | 55442b5153ef341793442921017aec3193234b30 (diff) | |
download | op-kernel-dev-cd9f7d7e29125f4cba8bae7cc8653c9e37533eb5.zip op-kernel-dev-cd9f7d7e29125f4cba8bae7cc8653c9e37533eb5.tar.gz |
staging: lustre: lnet: change lstcon_test_batch_ent_t to proper structure
Change lstcon_test_batch_ent_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>
Diffstat (limited to 'drivers/staging/lustre/include/linux/lnet/lnetst.h')
-rw-r--r-- | drivers/staging/lustre/include/linux/lnet/lnetst.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/lustre/include/linux/lnet/lnetst.h b/drivers/staging/lustre/include/linux/lnet/lnetst.h index f2b98e9..adc03fe 100644 --- a/drivers/staging/lustre/include/linux/lnet/lnetst.h +++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h @@ -112,7 +112,7 @@ struct lstcon_batch_ent { }; /*** batch summary entry, for *** list_batch command */ -typedef struct { +struct lstcon_test_batch_ent { struct lstcon_ndlist_ent tbe_cli_nle; /* client (group) node_list * entry */ struct lstcon_ndlist_ent tbe_srv_nle; /* server (group) node_list @@ -121,7 +121,7 @@ typedef struct { struct lstcon_test_ent tbe_test; /* test entry */ struct lstcon_batch_ent tbe_batch;/* batch entry */ } u; -} lstcon_test_batch_ent_t; /*** test/batch verbose information entry, +}; /*** test/batch verbose information entry, *** for list_batch command */ typedef struct { @@ -413,7 +413,7 @@ typedef struct { int lstio_bat_server; /* IN: query server or not */ int lstio_bat_testidx; /* IN: test index */ - lstcon_test_batch_ent_t __user *lstio_bat_entp; /* OUT: batch ent */ + struct lstcon_test_batch_ent __user *lstio_bat_entp;/* OUT: batch ent */ int __user *lstio_bat_idxp; /* IN/OUT: index of node */ int __user *lstio_bat_ndentp; /* IN/OUT: # of nodent */ |