summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/linux/ns_common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/ns_common.h b/include/linux/ns_common.h
index bdd0df15ad9c..32463203c824 100644
--- a/include/linux/ns_common.h
+++ b/include/linux/ns_common.h
@@ -109,8 +109,10 @@ struct ns_common {
union {
struct {
u64 ns_id;
- struct rb_node ns_tree_node;
- struct list_head ns_list_node;
+ struct /* per type rbtree and list */ {
+ struct rb_node ns_tree_node;
+ struct list_head ns_list_node;
+ };
atomic_t __ns_ref_active; /* do not use directly */
};
struct rcu_head ns_rcu;