aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2004-08-20 06:35:02 +1000
committerNathan Scott <nathans@lips.borg.umn.edu>2004-08-20 06:35:02 +1000
commitfcba7f1921158593b9a348d91b272cdee858235a (patch)
tree75872623f0dacfc7934bd99875c8eafab586a7c5 /fs
parent7c5b45b3b7e7f8522a9ccc9064b3f646734446c1 (diff)
downloadhistory-fcba7f1921158593b9a348d91b272cdee858235a.tar.gz
[XFS] sparse: fix header include order to get cpp macros defined
correctly. From Chris Wedgwood. SGI Modid: xfs-linux:xfs-kern:174816a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/support/ktrace.c9
-rw-r--r--fs/xfs/support/move.c8
2 files changed, 2 insertions, 15 deletions
diff --git a/fs/xfs/support/ktrace.c b/fs/xfs/support/ktrace.c
index 852a92dc0a958b..3dae14c8c55a14 100644
--- a/fs/xfs/support/ktrace.c
+++ b/fs/xfs/support/ktrace.c
@@ -30,14 +30,7 @@
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <linux/types.h>
-#include <linux/slab.h>
-
-#include <xfs_types.h>
-#include "kmem.h"
-#include "spin.h"
-#include "debug.h"
-#include "ktrace.h"
+#include <xfs.h>
static kmem_zone_t *ktrace_hdr_zone;
static kmem_zone_t *ktrace_ent_zone;
diff --git a/fs/xfs/support/move.c b/fs/xfs/support/move.c
index 9f3d2ebb13bfe9..15b5194f16b29d 100644
--- a/fs/xfs/support/move.c
+++ b/fs/xfs/support/move.c
@@ -30,13 +30,7 @@
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
-#include <linux/string.h>
-#include <linux/errno.h>
-#include <asm/uaccess.h>
-
-#include <xfs_types.h>
-#include "debug.h"
-#include "move.h"
+#include <xfs.h>
/* Read from kernel buffer at src to user/kernel buffer defined
* by the uio structure. Advance the pointer in the uio struct