aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_ioctl.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_ioctl.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_ioctl.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c
index a12dddad126e..237f5ffb2ee8 100644
--- a/fs/xfs/linux-2.6/xfs_ioctl.c
+++ b/fs/xfs/linux-2.6/xfs_ioctl.c
@@ -899,7 +899,7 @@ xfs_ioctl_setattr(
899 struct xfs_dquot *olddquot = NULL; 899 struct xfs_dquot *olddquot = NULL;
900 int code; 900 int code;
901 901
902 xfs_itrace_entry(ip); 902 trace_xfs_ioctl_setattr(ip);
903 903
904 if (mp->m_flags & XFS_MOUNT_RDONLY) 904 if (mp->m_flags & XFS_MOUNT_RDONLY)
905 return XFS_ERROR(EROFS); 905 return XFS_ERROR(EROFS);
@@ -1282,7 +1282,7 @@ xfs_file_ioctl(
1282 if (filp->f_mode & FMODE_NOCMTIME) 1282 if (filp->f_mode & FMODE_NOCMTIME)
1283 ioflags |= IO_INVIS; 1283 ioflags |= IO_INVIS;
1284 1284
1285 xfs_itrace_entry(ip); 1285 trace_xfs_file_ioctl(ip);
1286 1286
1287 switch (cmd) { 1287 switch (cmd) {
1288 case XFS_IOC_ALLOCSP: 1288 case XFS_IOC_ALLOCSP: