commit | 76b57302526ae289e8094a51d6a71031ff3d058b | [log] [tgz] |
---|---|---|
author | Peter Watkins <treestem@gmail.com> | Thu Dec 04 09:30:51 2014 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Thu Dec 04 09:30:51 2014 +1100 |
tree | 2d265a83e3645a8c1fd5d1b41ce42e750b919c88 | |
parent | e77b8547ca9c4b87932e9da3db906bc016885d8d [diff] |
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 <treestem@gmail.com> Reviewed-by: Nathaniel W. Turner <nate@houseofnate.net> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>