diff options
author | 2017-02-26 19:41:39 -0500 | |
---|---|---|
committer | 2017-03-06 09:17:04 +0100 | |
commit | ff67f7f679562d99e17b79dfbf64811f419df0d4 (patch) | |
tree | 285ecde5f2975fb6f5e07678ff009406349b9f1c /drivers/staging/lustre/include | |
parent | staging: lustre: lnet: change lnet_ni_t to proper structure (diff) | |
download | linux-dev-ff67f7f679562d99e17b79dfbf64811f419df0d4.tar.xz linux-dev-ff67f7f679562d99e17b79dfbf64811f419df0d4.zip |
staging: lustre: lnet: change lnet_rc_data_t to proper structure
Change lnet_rc_data_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <olaf@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@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')
-rw-r--r-- | drivers/staging/lustre/include/linux/lnet/lib-types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/lustre/include/linux/lnet/lib-types.h b/drivers/staging/lustre/include/linux/lnet/lib-types.h index bcfb0c700cc7..10bf60f74ccd 100644 --- a/drivers/staging/lustre/include/linux/lnet/lib-types.h +++ b/drivers/staging/lustre/include/linux/lnet/lib-types.h @@ -297,13 +297,13 @@ struct lnet_ni { /* router checker data, per router */ #define LNET_MAX_RTR_NIS 16 #define LNET_PINGINFO_SIZE offsetof(struct lnet_ping_info, pi_ni[LNET_MAX_RTR_NIS]) -typedef struct { +struct lnet_rc_data { /* chain on the_lnet.ln_zombie_rcd or ln_deathrow_rcd */ struct list_head rcd_list; struct lnet_handle_md rcd_mdh; /* ping buffer MD */ struct lnet_peer *rcd_gateway; /* reference to gateway */ struct lnet_ping_info *rcd_pinginfo; /* ping buffer */ -} lnet_rc_data_t; +}; typedef struct lnet_peer { struct list_head lp_hashlist; /* chain on peer hash */ @@ -345,7 +345,7 @@ typedef struct lnet_peer { /* returned RC ping features */ unsigned int lp_ping_feats; struct list_head lp_routes; /* routers on this peer */ - lnet_rc_data_t *lp_rcd; /* router checker state */ + struct lnet_rc_data *lp_rcd; /* router checker state */ } lnet_peer_t; /* peer hash size */ |