summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include/linux/lnet/lnetst.h
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2017-01-16 16:30:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 11:10:15 +0100
commitef9114c2fe6a4e4f0e641f4c318a04a2a14ba87e (patch)
tree6f91279394790b806859556b18f144aee559b30c /drivers/staging/lustre/include/linux/lnet/lnetst.h
parentcd9f7d7e29125f4cba8bae7cc8653c9e37533eb5 (diff)
downloadop-kernel-dev-ef9114c2fe6a4e4f0e641f4c318a04a2a14ba87e.zip
op-kernel-dev-ef9114c2fe6a4e4f0e641f4c318a04a2a14ba87e.tar.gz
staging: lustre: lnet: change lstcon_rpc_ent_t to proper structure
Change lstcon_rpc_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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/lnet/lnetst.h b/drivers/staging/lustre/include/linux/lnet/lnetst.h
index adc03fe..f5c68c13 100644
--- a/drivers/staging/lustre/include/linux/lnet/lnetst.h
+++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h
@@ -124,7 +124,7 @@ struct lstcon_test_batch_ent {
}; /*** test/batch verbose information entry,
*** for list_batch command */
-typedef struct {
+struct lstcon_rpc_ent {
struct list_head rpe_link; /* link chain */
lnet_process_id_t rpe_peer; /* peer's id */
struct timeval rpe_stamp; /* time stamp of RPC */
@@ -135,7 +135,7 @@ typedef struct {
int rpe_fwk_errno; /* framework errno */
int rpe_priv[4]; /* private data */
char rpe_payload[0]; /* private reply payload */
-} lstcon_rpc_ent_t;
+};
typedef struct {
int trs_rpc_stat[4]; /* RPCs stat (0: total
OpenPOWER on IntegriCloud