From: Christoph Hellwig Date: Wed, 16 Feb 2011 08:34:22 +0000 (+0100) Subject: hfsplus: fix overflow in hfsplus_read_wrapper X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce0cc0cd7f7b989d63131c3a90e3eb827bdb451;p=pandora-kernel.git hfsplus: fix overflow in hfsplus_read_wrapper For partitions larger than 2TB or at such an offset the hfs wrapper code in hfsplus might overflow the range representable in a 32-bit data type. Make sure we use a sector_t for the arithmetics leading to it. I'm not sure this code can be readed at all as hfs itself never supported such large volumes. Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed