xfs
[Top] [All Lists]

Re: [PATCH] xfs: kill last 2.4 ifdef leftover

To: Christoph Hellwig <hch@xxxxxx>
Subject: Re: [PATCH] xfs: kill last 2.4 ifdef leftover
From: Timothy Shimmin <tes@xxxxxxx>
Date: Tue, 11 Dec 2007 13:56:02 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20071130093836.GA2949@lst.de>
References: <20071130093836.GA2949@lst.de>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
Christoph Hellwig wrote:
Signed-off-by: Christoph Hellwig <hch@xxxxxx>

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


<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] xfs: kill last 2.4 ifdef leftover, Timothy Shimmin <=