From: Janne Kalliomäki Date: Sun, 17 Jun 2012 21:05:24 +0000 (-0400) Subject: hfsplus: fix overflow in sector calculations in hfsplus_submit_bio X-Git-Tag: v3.2.28~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a417591d73ccd0ad89f70300fdb4bd32a566f65;p=pandora-kernel.git hfsplus: fix overflow in sector calculations in hfsplus_submit_bio commit a6dc8c04218eb752ff79cdc24a995cf51866caed upstream. The variable io_size was unsigned int, which caused the wrong sector number to be calculated after aligning it. This then caused mount to fail with big volumes, as backup volume header information was searched from a wrong sector. Signed-off-by: Janne Kalliomäki Signed-off-by: Christoph Hellwig Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed