[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:
parent
ec86dc02fd
commit
2ddd5928d0
|
@ -84,7 +84,7 @@ xfs_calc_rename_reservation(xfs_mount_t *mp)
|
||||||
STATIC uint
|
STATIC uint
|
||||||
xfs_calc_link_reservation(xfs_mount_t *mp)
|
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
|
STATIC uint
|
||||||
|
|
Loading…
Reference in New Issue