Skip to content
Commit 76b57302 authored by Peter Watkins's avatar Peter Watkins Committed by Dave Chinner
Browse files

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: default avatarPeter Watkins <treestem@gmail.com>
Reviewed-by: default avatarNathaniel W. Turner <nate@houseofnate.net>
Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent e77b8547
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment