From: Li Zefan Date: Tue, 10 Jan 2012 08:41:01 +0000 (+0800) Subject: Btrfs: add pinned extents to on-disk free space cache correctly X-Git-Tag: v3.3-rc1~26^2~11^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db804f23a72bada58f083dfad6a65d019ddb3bd4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed