public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs: kill last 2.4 ifdef leftover
@ 2007-11-30  9:38 Christoph Hellwig
  2007-12-11  2:56 ` Timothy Shimmin
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2007-11-30  9:38 UTC (permalink / raw)
  To: xfs

Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6-xfs/fs/xfs/xfs.h
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/xfs.h	2007-09-29 11:48:48.000000000 +0200
+++ linux-2.6-xfs/fs/xfs/xfs.h	2007-09-29 11:49:03.000000000 +0200
@@ -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__ */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfs: kill last 2.4 ifdef leftover
  2007-11-30  9:38 [PATCH] xfs: kill last 2.4 ifdef leftover Christoph Hellwig
@ 2007-12-11  2:56 ` Timothy Shimmin
  0 siblings, 0 replies; 2+ messages in thread
From: Timothy Shimmin @ 2007-12-11  2:56 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs

Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
> Index: linux-2.6-xfs/fs/xfs/xfs.h
> ===================================================================
> --- linux-2.6-xfs.orig/fs/xfs/xfs.h	2007-09-29 11:48:48.000000000 +0200
> +++ linux-2.6-xfs/fs/xfs/xfs.h	2007-09-29 11:49:03.000000000 +0200
> @@ -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__ */
> 

I'll check it in. Ta.

--Tim

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-11  2:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30  9:38 [PATCH] xfs: kill last 2.4 ifdef leftover Christoph Hellwig
2007-12-11  2:56 ` Timothy Shimmin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox