path: root/extent-cache.c
diff options
authorJosef Bacik <>2013-05-29 09:08:12 -0400
committerChris Mason <>2013-06-19 13:52:41 -0400
commite0ac34931aedc0df48171f47a2b2b77a503fbc41 (patch)
treecdf46e5fc743f40a31e2b86c51be893dca0b9b70 /extent-cache.c
parent439ce45e4880c1f741bf4b0681d6c476e43760b2 (diff)
Btrfs-progs: fix free space cache checks
This fixes two bugs with the free space cache checker. First is we apparently always use root->sectorsize for our unit in the kernel so we have to do that in progs otherwise bitmaps turn out to not look right if we have leafsize != sectorsize. The second is a small issue if we had skinny metadata extents set, we wouldn't advance last properly because we unconditionally use key.offset instead of root->leafsize. Thanks, Signed-off-by: Josef Bacik <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'extent-cache.c')
0 files changed, 0 insertions, 0 deletions