[XFS] Correct the dquot reservation component for the link transation.

SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:25476a

Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
Nathan Scott 2006-03-17 17:25:46 +11:00
parent ec86dc02fd
commit 2ddd5928d0

View file

@ -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