Browse Source

[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>
Nathan Scott 19 năm trước cách đây
mục cha
commit
2ddd5928d0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fs/xfs/xfs_trans.c

+ 1 - 1
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