diff options
Diffstat (limited to 'fs/xfs/xfs_dquot.c')
-rw-r--r-- | fs/xfs/xfs_dquot.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c index e90e123b0085..251c66632e5e 100644 --- a/fs/xfs/xfs_dquot.c +++ b/fs/xfs/xfs_dquot.c | |||
@@ -712,10 +712,8 @@ xfs_qm_dqread( | |||
712 | 712 | ||
713 | if (flags & XFS_QMOPT_DQALLOC) { | 713 | if (flags & XFS_QMOPT_DQALLOC) { |
714 | tp = xfs_trans_alloc(mp, XFS_TRANS_QM_DQALLOC); | 714 | tp = xfs_trans_alloc(mp, XFS_TRANS_QM_DQALLOC); |
715 | error = xfs_trans_reserve(tp, XFS_QM_DQALLOC_SPACE_RES(mp), | 715 | error = xfs_trans_reserve(tp, &M_RES(mp)->tr_attrsetm, |
716 | XFS_QM_DQALLOC_LOG_RES(mp), 0, | 716 | XFS_QM_DQALLOC_SPACE_RES(mp), 0); |
717 | XFS_TRANS_PERM_LOG_RES, | ||
718 | XFS_WRITE_LOG_COUNT); | ||
719 | if (error) | 717 | if (error) |
720 | goto error1; | 718 | goto error1; |
721 | cancelflags = XFS_TRANS_RELEASE_LOG_RES; | 719 | cancelflags = XFS_TRANS_RELEASE_LOG_RES; |