|
|
| version 1.2, 2007/01/16 14:53:53 | version 1.3, 2007/01/16 14:56:58 |
|---|---|
| Line 0 | Line 1 |
| linux-2.4 support | |
| --- /home/chatz/isms/linux-2.6.19/fs/xfs/xfs.h 2006-11-30 08:57:37.000000000 +1100 | |
| +++ xfs.h 2006-12-15 17:48:29.000000000 +1100 | |
| @@ -40,5 +40,11 @@ | |
| #define XFS_VNODE_TRACE 1 | |
| #endif | |
| +#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> | |
| +#endif | |
| + | |
| #endif /* __XFS_H__ */ |