diff options
Diffstat (limited to 'fs/btrfs/ref-cache.h')
| -rw-r--r-- | fs/btrfs/ref-cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ref-cache.h b/fs/btrfs/ref-cache.h index bc283ad2db73..e2a55cb2072b 100644 --- a/fs/btrfs/ref-cache.h +++ b/fs/btrfs/ref-cache.h | |||
| @@ -52,7 +52,7 @@ static inline size_t btrfs_leaf_ref_size(int nr_extents) | |||
| 52 | 52 | ||
| 53 | static inline void btrfs_leaf_ref_tree_init(struct btrfs_leaf_ref_tree *tree) | 53 | static inline void btrfs_leaf_ref_tree_init(struct btrfs_leaf_ref_tree *tree) |
| 54 | { | 54 | { |
| 55 | tree->root.rb_node = NULL; | 55 | tree->root = RB_ROOT; |
| 56 | INIT_LIST_HEAD(&tree->list); | 56 | INIT_LIST_HEAD(&tree->list); |
| 57 | spin_lock_init(&tree->lock); | 57 | spin_lock_init(&tree->lock); |
| 58 | } | 58 | } |
