This header requires the definition of struct radix_tree_root, but does not need to know anything about other radix tree stuff.
Include <linux/radix-tree-root.h> instead of <linux/radix-tree.h> to reduce the header dependency. Signed-off-by: Masahiro Yamada <[email protected]> --- include/linux/backing-dev-defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/backing-dev-defs.h b/include/linux/backing-dev-defs.h index 866c433..f644f14 100644 --- a/include/linux/backing-dev-defs.h +++ b/include/linux/backing-dev-defs.h @@ -2,7 +2,7 @@ #define __LINUX_BACKING_DEV_DEFS_H #include <linux/list.h> -#include <linux/radix-tree.h> +#include <linux/radix-tree-root.h> #include <linux/rbtree.h> #include <linux/spinlock.h> #include <linux/percpu_counter.h> -- 2.7.4

