Btrfs: do not mount when we have a sectorsize unequal to PAGE_SIZE
authorLiu Bo <liubo2009@cn.fujitsu.com>
Tue, 3 Apr 2012 01:56:53 +0000 (09:56 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 18 Apr 2012 17:22:13 +0000 (19:22 +0200)
commit8d082fb727ac11930ea20bf1612e334ea7c2b697
tree417f84a4e3743bf0af435e0e339ef3fc54520a68
parent207a232ccac0a8cb79d304bd17298dbc96e2e082
Btrfs: do not mount when we have a sectorsize unequal to PAGE_SIZE

Our code is not ready to cope with a sectorsize that's not equal to PAGE_SIZE.
It will lead to hanging-on while writing something.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
fs/btrfs/disk-io.c