]> Git Repo - linux.git/commitdiff
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
authorLinus Torvalds <[email protected]>
Mon, 8 Mar 2010 22:07:53 +0000 (14:07 -0800)
committerLinus Torvalds <[email protected]>
Mon, 8 Mar 2010 22:07:53 +0000 (14:07 -0800)
* 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

1  2 
fs/btrfs/extent_map.c

diff --combined fs/btrfs/extent_map.c
index 428fcac45f90ec105226d66de2efe3c4ee43d421,5a01f35507dd96851a1f60ac1a7656ff6a156c55..28d87ba60ce8170d0c10d14225dc5ce37eb24beb
@@@ -35,7 -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);
  }
  
@@@ -242,7 -242,7 +242,7 @@@ out
   * Insert @em into @tree or perform a simple forward/backward merge with
   * existing mappings.  The extent_map struct passed in will be inserted
   * into the tree directly, with an additional reference taken, or a
 - * reference dropped if the merge attempt was sucessfull.
 + * reference dropped if the merge attempt was successfull.
   */
  int add_extent_mapping(struct extent_map_tree *tree,
                       struct extent_map *em)
This page took 0.053624 seconds and 4 git commands to generate.