]> 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)
commit14d7b60fad85d67b6e268f94f47745562dbaa6b4
tree16c8840f4495369e771cff62bb2fd8aa81d65ee9
parentce61122fab6cc64e764a0dd2fd7cfb0612a93243
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