]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[XFS] Correct the dquot reservation component for the link transation.
authorNathan Scott <nathans@sgi.com>
Fri, 17 Mar 2006 06:25:46 +0000 (17:25 +1100)
committerNathan Scott <nathans@sgi.com>
Fri, 17 Mar 2006 06:25:46 +0000 (17:25 +1100)
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:25476a

Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_trans.c

index 6a2a1e07505b4a1bb2589cece00137bb9942e8b5..2918956553a5c04952946e6b5630fe2d6515a84d 100644 (file)
@@ -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