From: Nathan Scott Date: Fri, 17 Mar 2006 06:25:46 +0000 (+1100) Subject: [XFS] Correct the dquot reservation component for the link transation. X-Git-Tag: v2.6.17-rc1~1000^2~36 X-Git-Url: http://git.cascardo.info/?a=commitdiff_plain;h=2ddd5928d01ca8eb49f55166411b64a5844a8959;p=cascardo%2Flinux.git [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 --- diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 6a2a1e07505b..2918956553a5 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c @@ -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