]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/radix-tree.h
radix-tree: Store a pointer to the root in each node
[mirror_ubuntu-artful-kernel.git] / include / linux / radix-tree.h
index 2ba0c1f46c84bc858f3219c2c53bbe8091ef6df5..d250059bbfa41d14ea3bb82278f3d5fbb3339cb6 100644 (file)
@@ -96,7 +96,7 @@ struct radix_tree_node {
        unsigned char   count;          /* Total entry count */
        unsigned char   exceptional;    /* Exceptional entry count */
        struct radix_tree_node *parent;         /* Used when ascending tree */
-       void *private_data;                     /* For tree user */
+       struct radix_tree_root *root;           /* The tree we belong to */
        union {
                struct list_head private_list;  /* For tree user */
                struct rcu_head rcu_head;       /* Used when freeing node */