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.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_ksyms.c
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/linux-2.6/xfs_ksyms.c 2007-07-28
18:45:16.000000000 +0200
+++ linux-2.6-xfs/fs/xfs/linux-2.6/xfs_ksyms.c 2007-07-28 18:48:50.000000000
+0200
@@ -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;
|