diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-04-25 09:51:45 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-04-25 09:51:45 -0400 |
commit | 997b7af2fe0810ca82a2f801a295218b51426e5a (patch) | |
tree | 06803bb0fcf2b910c4a222f0ce0b575cf23b90f7 /include/linux/nfs_fs.h | |
parent | eacf17bdbc8e6f24fe46cd7e10fb9a657f060d08 (diff) |
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_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index c71227dd4389..7e079f8ce18b 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -9,26 +9,6 @@ | |||
9 | #ifndef _LINUX_NFS_FS_H | 9 | #ifndef _LINUX_NFS_FS_H |
10 | #define _LINUX_NFS_FS_H | 10 | #define _LINUX_NFS_FS_H |
11 | 11 | ||
12 | #include <linux/config.h> | ||
13 | #include <linux/in.h> | ||
14 | #include <linux/mm.h> | ||
15 | #include <linux/pagemap.h> | ||
16 | #include <linux/rwsem.h> | ||
17 | #include <linux/wait.h> | ||
18 | |||
19 | #include <linux/nfs_fs_sb.h> | ||
20 | |||
21 | #include <linux/sunrpc/debug.h> | ||
22 | #include <linux/sunrpc/auth.h> | ||
23 | #include <linux/sunrpc/clnt.h> | ||
24 | |||
25 | #include <linux/nfs.h> | ||
26 | #include <linux/nfs2.h> | ||
27 | #include <linux/nfs3.h> | ||
28 | #include <linux/nfs4.h> | ||
29 | #include <linux/nfs_xdr.h> | ||
30 | #include <linux/rwsem.h> | ||
31 | #include <linux/mempool.h> | ||
32 | 12 | ||
33 | /* | 13 | /* |
34 | * Enable debugging support for nfs client. | 14 | * Enable debugging support for nfs client. |
@@ -63,6 +43,25 @@ | |||
63 | #define FLUSH_NOCOMMIT 32 /* Don't send the NFSv3/v4 COMMIT */ | 43 | #define FLUSH_NOCOMMIT 32 /* Don't send the NFSv3/v4 COMMIT */ |
64 | 44 | ||
65 | #ifdef __KERNEL__ | 45 | #ifdef __KERNEL__ |
46 | #include <linux/in.h> | ||
47 | #include <linux/mm.h> | ||
48 | #include <linux/pagemap.h> | ||
49 | #include <linux/rwsem.h> | ||
50 | #include <linux/wait.h> | ||
51 | |||
52 | #include <linux/nfs_fs_sb.h> | ||
53 | |||
54 | #include <linux/sunrpc/debug.h> | ||
55 | #include <linux/sunrpc/auth.h> | ||
56 | #include <linux/sunrpc/clnt.h> | ||
57 | |||
58 | #include <linux/nfs.h> | ||
59 | #include <linux/nfs2.h> | ||
60 | #include <linux/nfs3.h> | ||
61 | #include <linux/nfs4.h> | ||
62 | #include <linux/nfs_xdr.h> | ||
63 | #include <linux/rwsem.h> | ||
64 | #include <linux/mempool.h> | ||
66 | 65 | ||
67 | /* | 66 | /* |
68 | * NFSv3/v4 Access mode cache entry | 67 | * NFSv3/v4 Access mode cache entry |