Skip to contentSkip to conversation

add missing xfs_filestreams_trace_buf export

PATCH New Christoph Hellwig 1 participant 1 message Jul 28, 2007 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add missing xfs_filestreams_trace_buf export

add an export of xfs_filestreams_trace_buf for debug builds because xfsidbg wants to access it.

This prevent sucessfully building an xfs module when debug was enabled because modpost has gotten quite picky.

fs/xfs/linux-2.6/xfs_ksyms.c +4 -0
Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_ksyms.c
===================================================================
@@ -63,6 +63,7 @@
 #include "xfs_trans_space.h"
 #include "xfs_utils.h"
 #include "xfs_iomap.h"
+#include "xfs_filestream.h"
 #include "support/ktrace.h"
 
 
@@ -106,6 +107,9 @@ EXPORT_SYMBOL(xfs_attr_trace_buf);
 #ifdef XFS_DIR2_TRACE
 EXPORT_SYMBOL(xfs_dir2_trace_buf);
 #endif
+#ifdef XFS_FILESTREAMS_TRACE
+EXPORT_SYMBOL(xfs_filestreams_trace_buf);
+#endif
 
 #ifdef XFS_BUF_TRACE
 extern ktrace_t *xfs_buf_trace_buf;