diff options
| author | Christoph Hellwig <[email protected]> | 2025-07-16 12:54:02 +0000 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-07-24 15:30:14 +0000 |
| commit | 90b1bda80ece3624eb7962b9c00e6bcb9bbe2193 (patch) | |
| tree | ecea8ea8b9a7efd2fdc8c292531767bea6773703 /fs/xfs/xfs_zone_alloc.c | |
| parent | xfs: improve the xg_active_ref check in xfs_group_free (diff) | |
| download | kernel-90b1bda80ece3624eb7962b9c00e6bcb9bbe2193.tar.gz kernel-90b1bda80ece3624eb7962b9c00e6bcb9bbe2193.zip | |
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 <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_zone_alloc.c')
| -rw-r--r-- | fs/xfs/xfs_zone_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
