diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-07-12 12:58:49 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-07-14 14:23:45 -0700 |
commit | 98f001ebdc433b3af0caa0531c63928922e94274 (patch) | |
tree | 8ea4869311abd70d0d7cb77fc07c8383c36da96b /Kbuild | |
parent | 7554abd3e5d232761d0a41805024825d0f0aa5b7 (diff) |
xfs: fix an integer overflow error in xfs_growfs_rtgrowfsrt-fixes_2021-07-14
During a realtime grow operation, we run a single transaction for each
rt bitmap block added to the filesystem. This means that each step has
to be careful to increase sb_rblocks appropriately.
Fix the integer overflow error in this calculation that can happen when
the extent size is very large. Found by running growfs to add a rt
volume to a filesystem formatted with a 1g rt extent size.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions