properly init block group cache structs
authorChris Mason <chris.mason@oracle.com>
Fri, 19 Oct 2007 14:38:08 +0000 (10:38 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Fri, 19 Oct 2007 14:38:08 +0000 (10:38 -0400)
extent-tree.c

index a26d49e..8f7dc06 100644 (file)
@@ -744,6 +744,7 @@ int btrfs_read_block_groups(struct btrfs_root *root)
                btrfs_release_path(root, &path);
                bg->cache.start = found_key.objectid;
                bg->cache.size = found_key.offset;
+               bg->dirty = 0;
                ret = insert_existing_cache_extent(bg_cache, &bg->cache);
                BUG_ON(ret);
                if (key.objectid >=