diff options
Diffstat (limited to 'fs/btrfs/extent_map.c')
| -rw-r--r-- | fs/btrfs/extent_map.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c index 428fcac45f90..454ca52d6451 100644 --- a/fs/btrfs/extent_map.c +++ b/fs/btrfs/extent_map.c | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #include <linux/err.h> | 1 | #include <linux/err.h> |
| 2 | #include <linux/gfp.h> | ||
| 3 | #include <linux/slab.h> | 2 | #include <linux/slab.h> |
| 4 | #include <linux/module.h> | 3 | #include <linux/module.h> |
| 5 | #include <linux/spinlock.h> | 4 | #include <linux/spinlock.h> |
| @@ -35,7 +34,7 @@ void extent_map_exit(void) | |||
| 35 | */ | 34 | */ |
| 36 | void extent_map_tree_init(struct extent_map_tree *tree, gfp_t mask) | 35 | void extent_map_tree_init(struct extent_map_tree *tree, gfp_t mask) |
| 37 | { | 36 | { |
| 38 | tree->map.rb_node = NULL; | 37 | tree->map = RB_ROOT; |
| 39 | rwlock_init(&tree->lock); | 38 | rwlock_init(&tree->lock); |
| 40 | } | 39 | } |
| 41 | 40 | ||
