summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs4.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/nfs4.h
parenteacf17bdbc8e6f24fe46cd7e10fb9a657f060d08 (diff)
downloadlinux-997b7af2fe0810ca82a2f801a295218b51426e5a.tar.gz
linux-997b7af2fe0810ca82a2f801a295218b51426e5a.tar.bz2
linux-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/nfs4.h')
-rw-r--r--include/linux/nfs4.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h
index 0c1c306cdaec..1059e6d69d3b 100644
--- a/include/linux/nfs4.h
+++ b/include/linux/nfs4.h
@@ -14,7 +14,6 @@
#define _LINUX_NFS4_H
#include <linux/types.h>
-#include <linux/list.h>
#define NFS4_VERIFIER_SIZE 8
#define NFS4_FHSIZE 128
@@ -97,6 +96,9 @@ enum nfs4_acl_whotype {
NFS4_ACL_WHO_EVERYONE,
};
+#ifdef __KERNEL__
+#include <linux/list.h>
+
struct nfs4_ace {
uint32_t type;
uint32_t flag;
@@ -345,8 +347,6 @@ enum lock_type4 {
#define NFS4_MINOR_VERSION 0
#define NFS4_DEBUG 1
-#ifdef __KERNEL__
-
/* Index of predefined Linux client operations */
enum {