diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 19:03:34 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 19:03:34 +1000 |
commit | 6ea94bb5b30f14717e349f4e3ea4a6df03e1ee67 (patch) | |
tree | d4e0b6ce90d57437633c3020fc586a6f9318ef66 /fs/xfs/xfs_qm.c | |
parent | 25994053745be958aa8455a753a5c965a9006ba4 (diff) | |
download | lwn-6ea94bb5b30f14717e349f4e3ea4a6df03e1ee67.tar.gz lwn-6ea94bb5b30f14717e349f4e3ea4a6df03e1ee67.zip |
xfs: remove unused mp arg from xfs_calc_dquots_per_chunk()
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
-rw-r--r-- | fs/xfs/xfs_qm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index 348e4d2ed6e6..23cc8dce477d 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -870,8 +870,7 @@ xfs_qm_init_quotainfo( /* Precalc some constants */ qinf->qi_dqchunklen = XFS_FSB_TO_BB(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); - qinf->qi_dqperchunk = xfs_calc_dquots_per_chunk(mp, - qinf->qi_dqchunklen); + qinf->qi_dqperchunk = xfs_calc_dquots_per_chunk(qinf->qi_dqchunklen); mp->m_qflags |= (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_CHKD); |