aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs.h')
-rw-r--r--fs/xfs/xfs.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/fs/xfs/xfs.h b/fs/xfs/xfs.h
index 1a48dbb902a..a742c47f7d5 100644
--- a/fs/xfs/xfs.h
+++ b/fs/xfs/xfs.h
@@ -17,5 +17,18 @@
*/
#ifndef __XFS_H__
#define __XFS_H__
-#include <linux-2.6/xfs_linux.h>
+
+#ifdef CONFIG_XFS_DEBUG
+#define STATIC
+#define DEBUG 1
+#define XFS_BUF_LOCK_TRACKING 1
+#endif
+
+#ifdef CONFIG_XFS_WARN
+#define XFS_WARN 1
+#endif
+
+
+#include "xfs_linux.h"
+
#endif /* __XFS_H__ */