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)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Apr 2012 12:36:17 +0000 (17:36 +0530)
commit2c67ded08c3fe37b4841218d29b26fa7f70bcaeb
tree322a8bbb0a3829cf62539982dde91b382ed54d29
parent3db62b47a1706a5f50491beb2bd8550e8e7430cd
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