aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_file.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-06-23 21:57:09 -0400
committerAlex Elder <aelder@sgi.com>2010-07-26 14:16:44 -0400
commitcca28fb83d9e60779bb348edc33a62068e5f04a4 (patch)
tree182ab465eadfb00ff4e1d0717b6dea127cba18e3 /fs/xfs/linux-2.6/xfs_file.c
parentf2d6761433d69d94e0b39ac44ef0f0f0b0508065 (diff)
xfs: split xfs_itrace_entry
Replace the xfs_itrace_entry catchall with specific trace points. For most simple callers we now use the simple inode class, which used to be the iget class, but add more details tracing for namespace events, which now includes the name of the directory entries manipulated. Remove the xfs_inactive trace point, which is a duplicate of the clear_inode one, and the xfs_change_file_space trace point, which is immediately followed by the more specific alloc/free space trace points. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_file.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c
index 22edad7a0bec..3447555e9f76 100644
--- a/fs/xfs/linux-2.6/xfs_file.c
+++ b/fs/xfs/linux-2.6/xfs_file.c
@@ -100,7 +100,7 @@ xfs_file_fsync(
100 int error = 0; 100 int error = 0;
101 int log_flushed = 0; 101 int log_flushed = 0;
102 102
103 xfs_itrace_entry(ip); 103 trace_xfs_file_fsync(ip);
104 104
105 if (XFS_FORCED_SHUTDOWN(ip->i_mount)) 105 if (XFS_FORCED_SHUTDOWN(ip->i_mount))
106 return -XFS_ERROR(EIO); 106 return -XFS_ERROR(EIO);