From: Christoph Hellwig Date: Wed, 16 Feb 2011 08:34:17 +0000 (+0100) Subject: hfsplus: fix overflow in hfsplus_get_block X-Git-Tag: v3.1-rc1~324^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf1a1b31fa3ea24e3a90821d69a5c3da066f7d6c;p=pandora-kernel.git hfsplus: fix overflow in hfsplus_get_block For filesystems larger than 2TB the final sector number passed to map_bh might overflow the range representable in a 32-bit data type. Make sure we use a sector_t for it and the arithmetics calculating it. Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed