aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-03-17 01:25:46 -0500
committerNathan Scott <nathans@sgi.com>2006-03-17 01:25:46 -0500
commit2ddd5928d01ca8eb49f55166411b64a5844a8959 (patch)
treec98abcc5f70ca263ba98c33f6020bcc399c866ca /fs/xfs
parentec86dc02fdc062d0d298814b1e78b482ab38caf7 (diff)
[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)
84STATIC uint 84STATIC uint
85xfs_calc_link_reservation(xfs_mount_t *mp) 85xfs_calc_link_reservation(xfs_mount_t *mp)
86{ 86{
87 return XFS_CALC_LINK_LOG_RES(mp); 87 return XFS_CALC_LINK_LOG_RES(mp) + XFS_DQUOT_LOGRES(mp);
88} 88}
89 89
90STATIC uint 90STATIC uint