mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
xfs: use a uint32_t to cache i_used_blocks in xfs_init_zone
i_used_blocks is a uint32_t, so use the same value for the local variable caching it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
parent
59655147ec
commit
90b1bda80e
|
|
@ -1017,7 +1017,7 @@ xfs_init_zone(
|
|||
{
|
||||
struct xfs_mount *mp = rtg_mount(rtg);
|
||||
struct xfs_zone_info *zi = mp->m_zone_info;
|
||||
uint64_t used = rtg_rmap(rtg)->i_used_blocks;
|
||||
uint32_t used = rtg_rmap(rtg)->i_used_blocks;
|
||||
xfs_rgblock_t write_pointer, highest_rgbno;
|
||||
int error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user