Skip to contentSkip to conversation

xfs: kill last 2.4 ifdef leftover

PATCH In review Christoph Hellwig 2 participants 2 messages Nov 30, 2007 – Dec 11, 2007 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: kill last 2.4 ifdef leftover

fs/xfs/xfs.h +0 -5
Index: linux-2.6-xfs/fs/xfs/xfs.h
===================================================================
@@ -41,11 +41,6 @@
 #define XFS_FILESTREAMS_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__ */
#1 lore raw
Quoted 9 lines · Christoph Hellwig

Index: linux-2.6-xfs/fs/xfs/xfs.h
===================================================================

fs/xfs/xfs.h +0 -0
@@ -41,11 +41,6 @@
 #define XFS_FILESTREAMS_TRACE 1

fs/xfs/xfs.h line 46

Quoted 10 lines
fs/xfs/xfs.h +0 -5
 #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__ */

I'll check it in. Ta.

--Tim