Change lnet_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>
 #include "lib-types.h"
 #include "lib-dlc.h"
 
-extern lnet_t  the_lnet;       /* THE network */
+extern struct lnet the_lnet;   /* THE network */
 
 #if (BITS_PER_LONG == 32)
 /* 2 CPTs, allowing more CPTs might make us under memory pressure */
 
 #define LNET_RC_STATE_RUNNING          1       /* started up OK */
 #define LNET_RC_STATE_STOPPING         2       /* telling thread to stop */
 
-typedef struct {
+struct lnet {
        /* CPU partition table of LNet */
        struct cfs_cpt_table             *ln_cpt_table;
        /* number of CPTs in ln_cpt_table */
         */
        wait_queue_head_t                 ln_rc_waitq;
 
-} lnet_t;
+};
 
 #endif
 
 
 #define D_LNI D_CONSOLE
 
-lnet_t the_lnet;                          /* THE state of the network */
+struct lnet the_lnet;          /* THE state of the network */
 EXPORT_SYMBOL(the_lnet);
 
 static char *ip2nets = "";