aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_aops.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_aops.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_aops.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_aops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c
index 88ce1c6efff0..ed9c3db376c3 100644
--- a/fs/xfs/linux-2.6/xfs_aops.c
+++ b/fs/xfs/linux-2.6/xfs_aops.c
@@ -1513,7 +1513,7 @@ xfs_vm_bmap(
1513 struct inode *inode = (struct inode *)mapping->host; 1513 struct inode *inode = (struct inode *)mapping->host;
1514 struct xfs_inode *ip = XFS_I(inode); 1514 struct xfs_inode *ip = XFS_I(inode);
1515 1515
1516 xfs_itrace_entry(XFS_I(inode)); 1516 trace_xfs_vm_bmap(XFS_I(inode));
1517 xfs_ilock(ip, XFS_IOLOCK_SHARED); 1517 xfs_ilock(ip, XFS_IOLOCK_SHARED);
1518 xfs_flush_pages(ip, (xfs_off_t)0, -1, 0, FI_REMAPF); 1518 xfs_flush_pages(ip, (xfs_off_t)0, -1, 0, FI_REMAPF);
1519 xfs_iunlock(ip, XFS_IOLOCK_SHARED); 1519 xfs_iunlock(ip, XFS_IOLOCK_SHARED);