Skip to content

Commit

Permalink
[XFS] Correct the dquot reservation component for the link transation.
Browse files Browse the repository at this point in the history
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:25476a

Signed-off-by: Nathan Scott <nathans@sgi.com>
  • Loading branch information
Nathan Scott committed Mar 17, 2006
1 parent ec86dc0 commit 2ddd592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/xfs_trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ xfs_calc_rename_reservation(xfs_mount_t *mp)
STATIC uint
xfs_calc_link_reservation(xfs_mount_t *mp)
{
return XFS_CALC_LINK_LOG_RES(mp);
return XFS_CALC_LINK_LOG_RES(mp) + XFS_DQUOT_LOGRES(mp);
}

STATIC uint
Expand Down

0 comments on commit 2ddd592

Please sign in to comment.