From: Christoph Hellwig Date: Wed, 16 Jul 2025 12:54:02 +0000 (+0200) Subject: xfs: use a uint32_t to cache i_used_blocks in xfs_init_zone X-Git-Tag: block-6.17-20250808~74^2~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=90b1bda80ece3624eb7962b9c00e6bcb9bbe2193;p=linux-block.git 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 Reviewed-by: Darrick J. Wong Signed-off-by: Carlos Maiolino --- diff --git a/fs/xfs/xfs_zone_alloc.c b/fs/xfs/xfs_zone_alloc.c index 01315ed75502..867465b5b5fe 100644 --- a/fs/xfs/xfs_zone_alloc.c +++ b/fs/xfs/xfs_zone_alloc.c @@ -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;