mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-13 01:01:13 +00:00
properly init block group cache structs
This commit is contained in:
parent
678af9b3a4
commit
268ca701ab
@ -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 >=
|
||||
|
Loading…
Reference in New Issue
Block a user