Btrfs: update the checks for mixed block groups with big metadata blocks
authorChris Mason <chris.mason@oracle.com>
Thu, 29 Mar 2012 21:02:47 +0000 (17:02 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 29 Mar 2012 21:02:47 +0000 (17:02 -0400)
commitbc3f116fec194f1d7329b160c266fe16b9266a1e
tree67f9be8d4527c37c1ad85bdcbc1b6cca7328f49c
parente1f041e14cfb322f41f41a308bfede00f1b080cd
Btrfs: update the checks for mixed block groups with big metadata blocks

Dave Sterba had put in patches to look for mixed data/metadata groups
with metadata bigger than 4KB.  But these ended up in the wrong place
and it wasn't testing the feature flag correctly.

This updates the tests to make sure our sizes are matching

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c