Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable

* git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable:
  Btrfs: kfree correct pointer during mount option parsing
  Btrfs: use RB_ROOT to intialize rb_trees instead of setting rb_node to NULL
This commit is contained in:
Linus Torvalds 2010-03-08 14:07:53 -08:00
commit 51d0f6d1f5
9 changed files with 15 additions and 14 deletions

View file

@ -35,7 +35,7 @@ void extent_map_exit(void)
*/
void extent_map_tree_init(struct extent_map_tree *tree, gfp_t mask)
{
tree->map.rb_node = NULL;
tree->map = RB_ROOT;
rwlock_init(&tree->lock);
}