btrfs: disallow unequal data/metadata blocksize for mixed block groups
authorDavid Sterba <dsterba@suse.cz>
Fri, 17 Feb 2012 11:26:09 +0000 (12:26 +0100)
committerChris Mason <chris.mason@oracle.com>
Thu, 29 Mar 2012 00:30:28 +0000 (20:30 -0400)
commit65139ed99234d8505948cdb7a835452eb5c191f9
tree92e2c5e62c55d19bbac1a74e1699321323e65542
parentfcd1f065daca593badb7f99d473639cf3b551795
btrfs: disallow unequal data/metadata blocksize for mixed block groups

With support for bigger metadata blocks, we must avoid mounting a
filesystem with different block size for mixed block groups, this causes
corruption (found by xfstests/083).

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/disk-io.c