Btrfs: make sure we don't overflow the free space cache crc page
authorChris Mason <chris.mason@oracle.com>
Fri, 3 Jun 2011 05:26:53 +0000 (01:26 -0400)
committerChris Mason <chris.mason@oracle.com>
Sat, 4 Jun 2011 12:03:43 +0000 (08:03 -0400)
The free space cache uses only one page for crcs right now,
which means we can't have a cache file bigger than the
crcs we can fit in the first page.  This adds a check to
enforce that restriction.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found