]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: remove free-space-cache.c WARN during log replay
authorChris Mason <chris.mason@oracle.com>
Mon, 21 Nov 2011 14:39:11 +0000 (09:39 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 16 Dec 2011 19:40:10 +0000 (14:40 -0500)
commit6d1a86de4c5b02b33d11725d34877e8989ab6496
tree9aaefe4b3d96d0d19ed8d02bc720aa78fee9514f
parent321d6d82195d469eccb8fde3ff7d6d14cbfb2b6b
Btrfs: remove free-space-cache.c WARN during log replay

The log replay code only partially loads block groups, since
the block group caching code is able to detect and deal with
extents the logging code has pinned down.

While the logging code is pinning down block groups, there is
a bogus WARN_ON we're hitting if the code wasn't able to find
an extent in the cache.  This commit removes the warning because
it can happen any time there isn't a valid free space cache
for that block group.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
(cherry picked from commit 24a70313969fc3fc440216b40babdb42564acff3)
fs/btrfs/free-space-cache.c