summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-04-25 14:51:45 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-25 14:51:45 +0100
commit997b7af2fe0810ca82a2f801a295218b51426e5a (patch)
tree06803bb0fcf2b910c4a222f0ce0b575cf23b90f7 /include/linux/nfs.h
parenteacf17bdbc8e6f24fe46cd7e10fb9a657f060d08 (diff)
downloadlinux-stable-997b7af2fe0810ca82a2f801a295218b51426e5a.tar.gz
linux-stable-997b7af2fe0810ca82a2f801a295218b51426e5a.tar.bz2
linux-stable-997b7af2fe0810ca82a2f801a295218b51426e5a.zip
Don't include private headers from user-visible parts of include/linux/nfs*.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/nfs.h')
-rw-r--r--include/linux/nfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/nfs.h b/include/linux/nfs.h
index ca2ffa6ae1d5..54af92c1c70b 100644
--- a/include/linux/nfs.h
+++ b/include/linux/nfs.h
@@ -7,9 +7,6 @@
#ifndef _LINUX_NFS_H
#define _LINUX_NFS_H
-#include <linux/sunrpc/msg_prot.h>
-#include <linux/string.h>
-
#define NFS_PROGRAM 100003
#define NFS_PORT 2049
#define NFS_MAXDATA 8192
@@ -129,7 +126,10 @@ enum nfs_ftype {
NFFIFO = 8
};
-#if defined(__KERNEL__)
+#ifdef __KERNEL__
+#include <linux/sunrpc/msg_prot.h>
+#include <linux/string.h>
+
/*
* This is the kernel NFS client file handle representation
*/