Li Zefan db804f23a7 Btrfs: add pinned extents to on-disk free space cache correctly
I got this while running xfstests:

[24256.836098] block group 317849600 has an wrong amount of free space
[24256.836100] btrfs: failed to load free space cache for block group 317849600

We should clamp the extent returned by find_first_extent_bit(),
so the start of the extent won't smaller than the start of the
block group.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
2012-01-11 10:26:31 +08:00
..
2011-07-26 16:49:47 -07:00
2008-09-25 11:04:06 -04:00
2010-12-22 23:15:47 +08:00
2011-10-20 18:10:50 +02:00
2011-06-17 14:54:18 -04:00
2011-05-28 07:00:39 -04:00
2011-12-15 15:38:41 -05:00
2011-11-20 07:21:14 -05:00