diff options
Diffstat (limited to 'fs/xfs/quota/xfs_dquot.c')
-rw-r--r-- | fs/xfs/quota/xfs_dquot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c index e2e8d35fa4d0..9987977a4927 100644 --- a/fs/xfs/quota/xfs_dquot.c +++ b/fs/xfs/quota/xfs_dquot.c | |||
@@ -563,8 +563,7 @@ xfs_qm_dqtobp( | |||
563 | */ | 563 | */ |
564 | if (dqp->q_blkno == (xfs_daddr_t) 0) { | 564 | if (dqp->q_blkno == (xfs_daddr_t) 0) { |
565 | /* We use the id as an index */ | 565 | /* We use the id as an index */ |
566 | dqp->q_fileoffset = (xfs_fileoff_t) ((uint)id / | 566 | dqp->q_fileoffset = (xfs_fileoff_t)id / XFS_QM_DQPERBLK(mp); |
567 | XFS_QM_DQPERBLK(mp)); | ||
568 | nmaps = 1; | 567 | nmaps = 1; |
569 | quotip = XFS_DQ_TO_QIP(dqp); | 568 | quotip = XFS_DQ_TO_QIP(dqp); |
570 | xfs_ilock(quotip, XFS_ILOCK_SHARED); | 569 | xfs_ilock(quotip, XFS_ILOCK_SHARED); |