diff options
Diffstat (limited to 'fs/xfs/xfs.h')
| -rw-r--r-- | fs/xfs/xfs.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/fs/xfs/xfs.h b/fs/xfs/xfs.h index 99b50d2bda9..a742c47f7d5 100644 --- a/fs/xfs/xfs.h +++ b/fs/xfs/xfs.h @@ -18,11 +18,17 @@ #ifndef __XFS_H__ #define __XFS_H__ -#include <linux/version.h> -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -#include <linux-2.6/xfs_linux.h> -#else -#include <linux-2.4/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__ */ |
