aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot_buf.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-04-14 05:03:34 -0400
committerDave Chinner <david@fromorbit.com>2014-04-14 05:03:34 -0400
commit6ea94bb5b30f14717e349f4e3ea4a6df03e1ee67 (patch)
treed4e0b6ce90d57437633c3020fc586a6f9318ef66 /fs/xfs/xfs_dquot_buf.c
parent25994053745be958aa8455a753a5c965a9006ba4 (diff)
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_dquot_buf.c')
-rw-r--r--fs/xfs/xfs_dquot_buf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dquot_buf.c b/fs/xfs/xfs_dquot_buf.c
index 610da8177737..c2ac0c611ad8 100644
--- a/fs/xfs/xfs_dquot_buf.c
+++ b/fs/xfs/xfs_dquot_buf.c
@@ -35,7 +35,6 @@
35 35
36int 36int
37xfs_calc_dquots_per_chunk( 37xfs_calc_dquots_per_chunk(
38 struct xfs_mount *mp,
39 unsigned int nbblks) /* basic block units */ 38 unsigned int nbblks) /* basic block units */
40{ 39{
41 unsigned int ndquots; 40 unsigned int ndquots;
@@ -194,7 +193,7 @@ xfs_dquot_buf_verify_crc(
194 if (mp->m_quotainfo) 193 if (mp->m_quotainfo)
195 ndquots = mp->m_quotainfo->qi_dqperchunk; 194 ndquots = mp->m_quotainfo->qi_dqperchunk;
196 else 195 else
197 ndquots = xfs_calc_dquots_per_chunk(mp, 196 ndquots = xfs_calc_dquots_per_chunk(
198 XFS_BB_TO_FSB(mp, bp->b_length)); 197 XFS_BB_TO_FSB(mp, bp->b_length));
199 198
200 for (i = 0; i < ndquots; i++, d++) { 199 for (i = 0; i < ndquots; i++, d++) {
@@ -225,7 +224,7 @@ xfs_dquot_buf_verify(
225 if (mp->m_quotainfo) 224 if (mp->m_quotainfo)
226 ndquots = mp->m_quotainfo->qi_dqperchunk; 225 ndquots = mp->m_quotainfo->qi_dqperchunk;
227 else 226 else
228 ndquots = xfs_calc_dquots_per_chunk(mp, bp->b_length); 227 ndquots = xfs_calc_dquots_per_chunk(bp->b_length);
229 228
230 /* 229 /*
231 * On the first read of the buffer, verify that each dquot is valid. 230 * On the first read of the buffer, verify that each dquot is valid.