Commit 2ddd5928 authored by Nathan Scott's avatar Nathan Scott

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

SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:25476a
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent ec86dc02
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment