lkml.org 
[lkml]   [2017]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 04/12] writeback: replace <linux/radix-tree.h> with <linux/radix-tree-root.h>
Date
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 <yamada.masahiro@socionext.com>
---

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
\
 
 \ /
  Last update: 2017-10-08 18:15    [W:0.130 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site