]> git.baikalelectronics.ru Git - kernel.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>
Mon, 21 Nov 2011 19:57:33 +0000 (14:57 -0500)
commitde1fe89a974bf501453ab1c33c3ba5d411fb0d5d
tree16c8840f4495369e771cff62bb2fd8aa81d65ee9
parentbf8999ccdb0d9aba478ea15b43492cf38a6c8ea3
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>
fs/btrfs/free-space-cache.c