#define DEBUG_SUBSYSTEM S_LNET
 #include "../../include/linux/lnet/lib-lnet.h"
 
-struct lnet_text_buf_t {           /* tmp struct for parsing routes */
+struct lnet_text_buf {     /* tmp struct for parsing routes */
        struct list_head ltb_list;      /* stash on lists */
        int ltb_size;   /* allocated size */
        char ltb_text[0];     /* text buffer */
        return -EINVAL;
 }
 
-static struct lnet_text_buf_t *
+static struct lnet_text_buf *
 lnet_new_text_buf(int str_len)
 {
-       struct lnet_text_buf_t *ltb;
+       struct lnet_text_buf *ltb;
        int nob;
 
        /* NB allocate space for the terminating 0 */
-       nob = offsetof(struct lnet_text_buf_t, ltb_text[str_len + 1]);
+       nob = offsetof(struct lnet_text_buf, ltb_text[str_len + 1]);
        if (nob > LNET_SINGLE_TEXTBUF_NOB) {
                /* _way_ conservative for "route net gateway..." */
                CERROR("text buffer too big\n");
 }
 
 static void
-lnet_free_text_buf(struct lnet_text_buf_t *ltb)
+lnet_free_text_buf(struct lnet_text_buf *ltb)
 {
        lnet_tbnob -= ltb->ltb_size;
        LIBCFS_FREE(ltb, ltb->ltb_size);
 static void
 lnet_free_text_bufs(struct list_head *tbs)
 {
-       struct lnet_text_buf_t *ltb;
+       struct lnet_text_buf *ltb;
 
        while (!list_empty(tbs)) {
-               ltb = list_entry(tbs->next, struct lnet_text_buf_t, ltb_list);
+               ltb = list_entry(tbs->next, struct lnet_text_buf, ltb_list);
 
                list_del(<b->ltb_list);
                lnet_free_text_buf(ltb);
        char *sep;
        int nob;
        int i;
-       struct lnet_text_buf_t *ltb;
+       struct lnet_text_buf *ltb;
 
        INIT_LIST_HEAD(&pending);
 
 {
        int len1 = (int)(sep1 - str);
        int len2 = strlen(sep2 + 1);
-       struct lnet_text_buf_t *ltb;
+       struct lnet_text_buf *ltb;
 
        LASSERT(*sep1 == '[');
        LASSERT(*sep2 == ']');
        struct list_head *tmp2;
        __u32 net;
        lnet_nid_t nid;
-       struct lnet_text_buf_t *ltb;
+       struct lnet_text_buf *ltb;
        int rc;
        char *sep;
        char *token = str;
                list_add_tail(tmp1, tmp2);
 
                while (tmp1 != tmp2) {
-                       ltb = list_entry(tmp1, struct lnet_text_buf_t,
-                                        ltb_list);
+                       ltb = list_entry(tmp1, struct lnet_text_buf, ltb_list);
 
                        rc = lnet_str2tbs_expand(tmp1->next, ltb->ltb_text);
                        if (rc < 0)
        LASSERT(!list_empty(&gateways));
 
        list_for_each(tmp1, &nets) {
-               ltb = list_entry(tmp1, struct lnet_text_buf_t, ltb_list);
+               ltb = list_entry(tmp1, struct lnet_text_buf, ltb_list);
                net = libcfs_str2net(ltb->ltb_text);
                LASSERT(net != LNET_NIDNET(LNET_NID_ANY));
 
                list_for_each(tmp2, &gateways) {
-                       ltb = list_entry(tmp2, struct lnet_text_buf_t,
-                                        ltb_list);
+                       ltb = list_entry(tmp2, struct lnet_text_buf, ltb_list);
                        nid = libcfs_str2nid(ltb->ltb_text);
                        LASSERT(nid != LNET_NID_ANY);
 
 static int
 lnet_parse_route_tbs(struct list_head *tbs, int *im_a_router)
 {
-       struct lnet_text_buf_t *ltb;
+       struct lnet_text_buf *ltb;
 
        while (!list_empty(tbs)) {
-               ltb = list_entry(tbs->next, struct lnet_text_buf_t, ltb_list);
+               ltb = list_entry(tbs->next, struct lnet_text_buf, ltb_list);
 
                if (lnet_parse_route(ltb->ltb_text, im_a_router) < 0) {
                        lnet_free_text_bufs(tbs);
        int offset = 0;
        int offset2;
        int len;
-       struct lnet_text_buf_t *tb;
-       struct lnet_text_buf_t *tb2;
+       struct lnet_text_buf *tb;
+       struct lnet_text_buf *tb2;
        struct list_head *t;
        char *sep;
        char *bracket;
        LASSERT(!list_empty(nets));
        LASSERT(nets->next == nets->prev);     /* single entry */
 
-       tb = list_entry(nets->next, struct lnet_text_buf_t, ltb_list);
+       tb = list_entry(nets->next, struct lnet_text_buf, ltb_list);
 
        for (;;) {
                sep = strchr(tb->ltb_text, ',');
                }
 
                list_for_each(t, nets) {
-                       tb2 = list_entry(t, struct lnet_text_buf_t, ltb_list);
+                       tb2 = list_entry(t, struct lnet_text_buf, ltb_list);
 
                        if (tb2 == tb)
                                continue;
        struct list_head current_nets;
        struct list_head *t;
        struct list_head *t2;
-       struct lnet_text_buf_t *tb;
-       struct lnet_text_buf_t *tb2;
+       struct lnet_text_buf *tb;
+       struct lnet_text_buf *tb2;
        __u32 net1;
        __u32 net2;
        int len;
        rc = 0;
 
        while (!list_empty(&raw_entries)) {
-               tb = list_entry(raw_entries.next, struct lnet_text_buf_t,
-                                   ltb_list);
-
+               tb = list_entry(raw_entries.next, struct lnet_text_buf,
+                               ltb_list);
                strncpy(source, tb->ltb_text, sizeof(source));
                source[sizeof(source)-1] = '\0';
 
 
                dup = 0;
                list_for_each(t, ¤t_nets) {
-                       tb = list_entry(t, struct lnet_text_buf_t, ltb_list);
+                       tb = list_entry(t, struct lnet_text_buf, ltb_list);
                        net1 = lnet_netspec2net(tb->ltb_text);
                        LASSERT(net1 != LNET_NIDNET(LNET_NID_ANY));
 
                        list_for_each(t2, &matched_nets) {
-                               tb2 = list_entry(t2, struct lnet_text_buf_t,
-                                                    ltb_list);
+                               tb2 = list_entry(t2, struct lnet_text_buf,
+                                                ltb_list);
                                net2 = lnet_netspec2net(tb2->ltb_text);
                                LASSERT(net2 != LNET_NIDNET(LNET_NID_ANY));
 
                }
 
                list_for_each_safe(t, t2, ¤t_nets) {
-                       tb = list_entry(t, struct lnet_text_buf_t, ltb_list);
+                       tb = list_entry(t, struct lnet_text_buf, ltb_list);
 
                        list_del(&tb->ltb_list);
                        list_add_tail(&tb->ltb_list, &matched_nets);