Darrick J. Wong 0925fecc55 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>
2021-07-15 09:58:42 -07:00
..
2021-07-02 14:30:27 -07:00
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:27:20 +01:00
2021-06-29 10:53:48 -07:00
2021-06-21 10:05:51 -07:00
2021-07-02 14:30:27 -07:00
2021-06-21 10:05:46 -07:00
2021-04-15 09:35:51 -07:00
2021-07-02 14:30:27 -07:00
2021-06-02 10:48:24 +10:00
2021-06-02 10:48:24 +10:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-06-21 10:05:51 -07:00
2021-07-02 14:30:27 -07:00
2021-06-02 10:48:24 +10:00
2020-12-16 16:07:34 -08:00
2021-06-21 10:05:46 -07:00
2021-06-21 10:05:46 -07:00
2021-06-02 10:48:24 +10:00
2021-01-24 14:43:46 +01:00