diff options
| author | Darrick J. Wong <[email protected]> | 2021-07-12 19:58:49 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2021-07-15 16:58:42 +0000 |
| commit | 0925fecc557471b6f6a488c3590a275151210572 (patch) | |
| tree | 8de0c661310bd83ae3e37f07dfc8804759373251 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | xfs: improve FSGROWFSRT precondition checking (diff) | |
| download | kernel-0925fecc557471b6f6a488c3590a275151210572.tar.gz kernel-0925fecc557471b6f6a488c3590a275151210572.zip | |
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
