aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index f21756751540..801eb891d0fd 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -2200,7 +2200,7 @@ xfs_ifree_cluster(
2200 inum = xic->first_ino; 2200 inum = xic->first_ino;
2201 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, inum)); 2201 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, inum));
2202 blks_per_cluster = xfs_icluster_size_fsb(mp); 2202 blks_per_cluster = xfs_icluster_size_fsb(mp);
2203 inodes_per_cluster = blks_per_cluster << mp->m_sb.sb_inopblog; 2203 inodes_per_cluster = XFS_FSB_TO_INO(mp, blks_per_cluster);
2204 nbufs = mp->m_ialloc_blks / blks_per_cluster; 2204 nbufs = mp->m_ialloc_blks / blks_per_cluster;
2205 2205
2206 for (j = 0; j < nbufs; j++, inum += inodes_per_cluster) { 2206 for (j = 0; j < nbufs; j++, inum += inodes_per_cluster) {