diff options
Diffstat (limited to 'fs/xfs/xfs_dquot_buf.c')
-rw-r--r-- | fs/xfs/xfs_dquot_buf.c | 5 |
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 | ||
36 | int | 36 | int |
37 | xfs_calc_dquots_per_chunk( | 37 | xfs_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. |