From: Peter Watkins Date: Wed, 3 Dec 2014 22:30:51 +0000 (+1100) Subject: xfs: overflow in xfs_iomap_eof_align_last_fsb X-Git-Tag: omap-for-v3.19/fixes-rc1~115^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b57302526ae289e8094a51d6a71031ff3d058b;p=pandora-kernel.git xfs: overflow in xfs_iomap_eof_align_last_fsb If extsize is set and new_last_fsb is larger than 32 bits, the roundup to extsize will overflow the align variable. Instead, combine alignments by rounding stripe size up to extsize. Signed-off-by: Peter Watkins Reviewed-by: Nathaniel W. Turner Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed