Skip to contentSkip to conversation

Remove unused tracing code

PATCH In review Lachlan McIlroy 2 participants 2 messages Dec 9, 2008 XFS filesystem

lore
Share & tools
lore
#0 lore raw

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
index f5c7b0a..c144a91 100644
@@ -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
index 872191b..50ceddb 100644
@@ -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
index ae5800e..9e6d916 100644
@@ -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