summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-03-17 09:25:46 +0300
committerNathan Scott <nathans@sgi.com>2006-03-17 09:25:46 +0300
commit2ddd5928d01ca8eb49f55166411b64a5844a8959 (patch)
treec98abcc5f70ca263ba98c33f6020bcc399c866ca /fs/xfs
parentec86dc02fdc062d0d298814b1e78b482ab38caf7 (diff)
downloadlinux-2ddd5928d01ca8eb49f55166411b64a5844a8959.tar.xz
[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>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_trans.c2
1 files changed, 1 insertions, 1 deletions
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