merge is always NULL at this point.

regards,
dan carpenter

Signed-off-by: Dan Carpenter <[email protected]>

--- orig/fs/btrfs/extent_map.c  2009-03-26 17:07:20.000000000 +0300
+++ devel/fs/btrfs/extent_map.c 2009-03-26 17:07:39.000000000 +0300
@@ -234,7 +234,6 @@
        rb = tree_insert(&tree->map, em->start, &em->rb_node);
        if (rb) {
                ret = -EEXIST;
-               free_extent_map(merge);
                goto out;
        }
        atomic_inc(&em->refs);
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to