summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-07-12 12:58:49 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-07-15 09:58:42 -0700
commit0925fecc557471b6f6a488c3590a275151210572 (patch)
tree8de0c661310bd83ae3e37f07dfc8804759373251 /block/blk-core.c
parent0e2af9296f4f9c4c815ced2beb21093af7c38644 (diff)
xfs: fix an integer overflow error in xfs_growfs_rt
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> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions