Explorar o código

[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 %!s(int64=19) %!d(string=hai) anos
pai
achega
2ddd5928d0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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