diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_ialloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc.c b/fs/xfs/libxfs/xfs_ialloc.c index 66d702e6b9ff..22297f9b0fd5 100644 --- a/fs/xfs/libxfs/xfs_ialloc.c +++ b/fs/xfs/libxfs/xfs_ialloc.c | |||
@@ -2403,8 +2403,8 @@ xfs_ialloc_compute_maxlevels( | |||
2403 | 2403 | ||
2404 | maxleafents = (1LL << XFS_INO_AGINO_BITS(mp)) >> | 2404 | maxleafents = (1LL << XFS_INO_AGINO_BITS(mp)) >> |
2405 | XFS_INODES_PER_CHUNK_LOG; | 2405 | XFS_INODES_PER_CHUNK_LOG; |
2406 | minleafrecs = mp->m_alloc_mnr[0]; | 2406 | minleafrecs = mp->m_inobt_mnr[0]; |
2407 | minnoderecs = mp->m_alloc_mnr[1]; | 2407 | minnoderecs = mp->m_inobt_mnr[1]; |
2408 | maxblocks = (maxleafents + minleafrecs - 1) / minleafrecs; | 2408 | maxblocks = (maxleafents + minleafrecs - 1) / minleafrecs; |
2409 | for (level = 1; maxblocks > 1; level++) | 2409 | for (level = 1; maxblocks > 1; level++) |
2410 | maxblocks = (maxblocks + minnoderecs - 1) / minnoderecs; | 2410 | maxblocks = (maxblocks + minnoderecs - 1) / minnoderecs; |