diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-03 20:18:36 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-05 13:38:27 -0800 |
commit | c4ae021bcb6bf8bbb329ce8ef947a43009bc2fe4 (patch) | |
tree | ffa4068a9d2211f76d0449736e816946efd1d5ac /fs/xfs/libxfs/xfs_inode_util.c | |
parent | dc8df7e3826e21eff0d655be875112a98172fb66 (diff) | |
download | linux-c4ae021bcb6bf8bbb329ce8ef947a43009bc2fe4.tar.gz linux-c4ae021bcb6bf8bbb329ce8ef947a43009bc2fe4.tar.bz2 linux-c4ae021bcb6bf8bbb329ce8ef947a43009bc2fe4.zip |
xfs: convert remaining trace points to pass pag structures
Convert all tracepoints that take [mp,agno] tuples to take a pag argument
instead so that decoding only happens when tracepoints are enabled and to
clean up the callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_util.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_inode_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_inode_util.c b/fs/xfs/libxfs/xfs_inode_util.c index cc38e1c3c3e1..ec64eda3bbe2 100644 --- a/fs/xfs/libxfs/xfs_inode_util.c +++ b/fs/xfs/libxfs/xfs_inode_util.c @@ -442,8 +442,8 @@ xfs_iunlink_update_bucket( ASSERT(xfs_verify_agino_or_null(pag, new_agino)); old_value = be32_to_cpu(agi->agi_unlinked[bucket_index]); - trace_xfs_iunlink_update_bucket(tp->t_mountp, pag->pag_agno, bucket_index, - old_value, new_agino); + trace_xfs_iunlink_update_bucket(pag, bucket_index, old_value, + new_agino); /* * We should never find the head of the list already set to the value |