Remove unused tracing code
PATCH 1/1 Remove unused tracing code
None of this code appears to be used anywhere so remove it. The only changes going to mainline are the one-liners in xfs_inode.[ch].
fs/xfs/linux-2.6/xfs_ksyms.c +0 -3
@@ -88,9 +88,6 @@ EXPORT_SYMBOL(xfs_itrace_hold);EXPORT_SYMBOL (xfs_itrace_rele);#endif -#ifdef XFS_ILOCK_TRACE -EXPORT_SYMBOL (xfs_ilock_trace_buf); -#endif #ifdef XFS_ALLOC_TRACE EXPORT_SYMBOL (xfs_alloc_trace_buf);#endif
fs/xfs/xfs_inode.c +0 -2
@@ -3304,8 +3304,6 @@ corrupt_out:#ifdef XFS_ILOCK_TRACE -ktrace_t *xfs_ilock_trace_buf; -void xfs_ilock_trace (xfs_inode_t *ip,int lock,unsigned int lockflags,inst_t *ra) {
fs/xfs/xfs_inode.h +0 -1
@@ -223,7 +223,6 @@ struct xfs_dquot;#if defined(XFS_ILOCK_TRACE )#define XFS_ILOCK_KTRACE_SIZE 32 -extern ktrace_t *xfs_ilock_trace_buf;extern void xfs_ilock_trace (struct xfs_inode *,int ,unsigned int ,inst_t *);#else #define xfs_ilock_trace (i,n,f,ra)
fs/xfs/xfsidbg.c +0 -123
153 lines not on this page · raw message
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 2 lines · Lachlan McIlroy
None of this code appears to be used anywhere so remove it. The only changes going to mainline are the one-liners in xfs_inode.[ch].
Looks good.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs