diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-06-24 11:57:09 +1000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 13:16:44 -0500 |
commit | cca28fb83d9e60779bb348edc33a62068e5f04a4 (patch) | |
tree | 182ab465eadfb00ff4e1d0717b6dea127cba18e3 /fs/xfs/xfs_rename.c | |
parent | f2d6761433d69d94e0b39ac44ef0f0f0b0508065 (diff) | |
download | blackbird-op-linux-cca28fb83d9e60779bb348edc33a62068e5f04a4.tar.gz blackbird-op-linux-cca28fb83d9e60779bb348edc33a62068e5f04a4.zip |
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/xfs_rename.c')
-rw-r--r-- | fs/xfs/xfs_rename.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_rename.c b/fs/xfs/xfs_rename.c index 778c87a8ebfc..8fca957200df 100644 --- a/fs/xfs/xfs_rename.c +++ b/fs/xfs/xfs_rename.c @@ -113,8 +113,7 @@ xfs_rename( int spaceres; int num_inodes; - xfs_itrace_entry(src_dp); - xfs_itrace_entry(target_dp); + trace_xfs_rename(src_dp, target_dp, src_name, target_name); new_parent = (src_dp != target_dp); src_is_directory = ((src_ip->i_d.di_mode & S_IFMT) == S_IFDIR); |