hfsplus: fix filesystem size checks
authorChristoph Hellwig <hch@tuxera.com>
Thu, 15 Sep 2011 14:48:40 +0000 (10:48 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Sep 2011 16:03:17 +0000 (09:03 -0700)
commitf1fcd9f0e96d12498afb5543107f560f196cfcf3
tree0444192f838dc8a71b0f6d1270d979a337c6ef6f
parentf588c960fcaa6fa8bf82930bb819c9aca4eb9347
hfsplus: fix filesystem size checks

generic_check_addressable can't deal with hfsplus's larger than page
size allocation blocks, so simply opencode the checks that we actually
need in hfsplus_fill_super.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Reported-by: Pavel Ivanov <paivanof@gmail.com>
Tested-by: Pavel Ivanov <paivanof@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/super.c