scripts/Lindent: handle missing indent gracefully
[cascardo/linux.git] / net / batman-adv / types.h
index f2ebe33..d260efd 100644 (file)
@@ -190,7 +190,7 @@ struct batadv_vlan_tt {
 struct batadv_orig_node_vlan {
        unsigned short vid;
        struct batadv_vlan_tt tt;
-       struct list_head list;
+       struct hlist_node list;
        atomic_t refcount;
        struct rcu_head rcu;
 };
@@ -302,7 +302,7 @@ struct batadv_orig_node {
        spinlock_t out_coding_list_lock; /* Protects out_coding_list */
 #endif
        struct batadv_frag_table_entry fragments[BATADV_FRAG_BUFFER_COUNT];
-       struct list_head vlan_list;
+       struct hlist_head vlan_list;
        spinlock_t vlan_list_lock; /* protects vlan_list */
        struct batadv_orig_bat_iv bat_iv;
 };
@@ -328,7 +328,6 @@ enum batadv_orig_capabilities {
  * @orig_node: pointer to corresponding orig node
  * @bandwidth_down: advertised uplink download bandwidth
  * @bandwidth_up: advertised uplink upload bandwidth
- * @deleted: this struct is scheduled for deletion
  * @refcount: number of contexts the object is used
  * @rcu: struct used for freeing in an RCU-safe manner
  */
@@ -337,7 +336,6 @@ struct batadv_gw_node {
        struct batadv_orig_node *orig_node;
        u32 bandwidth_down;
        u32 bandwidth_up;
-       unsigned long deleted;
        atomic_t refcount;
        struct rcu_head rcu;
 };
@@ -537,7 +535,7 @@ struct batadv_priv_tt {
        struct list_head changes_list;
        struct batadv_hashtable *local_hash;
        struct batadv_hashtable *global_hash;
-       struct list_head req_list;
+       struct hlist_head req_list;
        struct list_head roam_list;
        spinlock_t changes_list_lock; /* protects changes */
        spinlock_t req_list_lock; /* protects req_list */
@@ -1006,7 +1004,7 @@ struct batadv_tt_change_node {
 struct batadv_tt_req_node {
        u8 addr[ETH_ALEN];
        unsigned long issued_at;
-       struct list_head list;
+       struct hlist_node list;
 };
 
 /**