瀏覽代碼

xfs: fix up inode cowblocks tracking tracepoints

These calls are still using the eofblocks tracepoints. The cowblocks
equivalents are already defined, we just aren't actually calling them.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Brian Foster 8 年之前
父節點
當前提交
7b7381f043
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      fs/xfs/xfs_icache.c

+ 4 - 4
fs/xfs/xfs_icache.c

@@ -1656,9 +1656,9 @@ void
 xfs_inode_set_cowblocks_tag(
 xfs_inode_set_cowblocks_tag(
 	xfs_inode_t	*ip)
 	xfs_inode_t	*ip)
 {
 {
-	trace_xfs_inode_set_eofblocks_tag(ip);
+	trace_xfs_inode_set_cowblocks_tag(ip);
 	return __xfs_inode_set_eofblocks_tag(ip, xfs_queue_cowblocks,
 	return __xfs_inode_set_eofblocks_tag(ip, xfs_queue_cowblocks,
-			trace_xfs_perag_set_eofblocks,
+			trace_xfs_perag_set_cowblocks,
 			XFS_ICI_COWBLOCKS_TAG);
 			XFS_ICI_COWBLOCKS_TAG);
 }
 }
 
 
@@ -1666,7 +1666,7 @@ void
 xfs_inode_clear_cowblocks_tag(
 xfs_inode_clear_cowblocks_tag(
 	xfs_inode_t	*ip)
 	xfs_inode_t	*ip)
 {
 {
-	trace_xfs_inode_clear_eofblocks_tag(ip);
+	trace_xfs_inode_clear_cowblocks_tag(ip);
 	return __xfs_inode_clear_eofblocks_tag(ip,
 	return __xfs_inode_clear_eofblocks_tag(ip,
-			trace_xfs_perag_clear_eofblocks, XFS_ICI_COWBLOCKS_TAG);
+			trace_xfs_perag_clear_cowblocks, XFS_ICI_COWBLOCKS_TAG);
 }
 }