diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2009-12-03 13:30:56 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-12-14 18:12:12 -0500 |
commit | 9a74af21330c8d46efa977d088a62cc1bfa954e9 (patch) | |
tree | 6f2e4b775738ae93da05ad475b244785bf40461e | |
parent | 68590c382b875cc9a76b06097f3dff6730d787c1 (diff) |
nfsd: Move private headers to source directory
Lots of include/linux/nfsd/* headers are only used by
nfsd module. Move them to the source directory
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
-rw-r--r-- | fs/nfsd/auth.c | 2 | ||||
-rw-r--r-- | fs/nfsd/cache.h (renamed from include/linux/nfsd/cache.h) | 0 | ||||
-rw-r--r-- | fs/nfsd/export.c | 3 | ||||
-rw-r--r-- | fs/nfsd/lockd.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfs2acl.c | 7 | ||||
-rw-r--r-- | fs/nfsd/nfs3acl.c | 7 | ||||
-rw-r--r-- | fs/nfsd/nfs3proc.c | 4 | ||||
-rw-r--r-- | fs/nfsd/nfs3xdr.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfs4callback.c | 4 | ||||
-rw-r--r-- | fs/nfsd/nfs4proc.c | 4 | ||||
-rw-r--r-- | fs/nfsd/nfs4recover.c | 5 | ||||
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 3 | ||||
-rw-r--r-- | fs/nfsd/nfscache.c | 4 | ||||
-rw-r--r-- | fs/nfsd/nfsctl.c | 5 | ||||
-rw-r--r-- | fs/nfsd/nfsd.h (renamed from include/linux/nfsd/nfsd.h) | 0 | ||||
-rw-r--r-- | fs/nfsd/nfsfh.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfsproc.c | 4 | ||||
-rw-r--r-- | fs/nfsd/nfssvc.c | 4 | ||||
-rw-r--r-- | fs/nfsd/nfsxdr.c | 2 | ||||
-rw-r--r-- | fs/nfsd/state.h (renamed from include/linux/nfsd/state.h) | 0 | ||||
-rw-r--r-- | fs/nfsd/stats.c | 4 | ||||
-rw-r--r-- | fs/nfsd/vfs.c | 18 | ||||
-rw-r--r-- | fs/nfsd/xdr.h (renamed from include/linux/nfsd/xdr.h) | 2 | ||||
-rw-r--r-- | fs/nfsd/xdr3.h (renamed from include/linux/nfsd/xdr3.h) | 2 | ||||
-rw-r--r-- | fs/nfsd/xdr4.h (renamed from include/linux/nfsd/xdr4.h) | 4 |
26 files changed, 52 insertions, 44 deletions
diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c index ad354d284cf8..71209d4993d0 100644 --- a/fs/nfsd/auth.c +++ b/fs/nfsd/auth.c | |||
@@ -5,7 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
8 | #include <linux/nfsd/nfsd.h> | 8 | #include "nfsd.h" |
9 | #include "auth.h" | 9 | #include "auth.h" |
10 | 10 | ||
11 | int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) | 11 | int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) |
diff --git a/include/linux/nfsd/cache.h b/fs/nfsd/cache.h index a165425dea41..a165425dea41 100644 --- a/include/linux/nfsd/cache.h +++ b/fs/nfsd/cache.h | |||
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index 68e63f441444..cb3dae2fcd86 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c | |||
@@ -18,10 +18,11 @@ | |||
18 | #include <linux/module.h> | 18 | #include <linux/module.h> |
19 | #include <linux/exportfs.h> | 19 | #include <linux/exportfs.h> |
20 | 20 | ||
21 | #include <linux/nfsd/nfsd.h> | ||
22 | #include <linux/nfsd/syscall.h> | 21 | #include <linux/nfsd/syscall.h> |
23 | #include <net/ipv6.h> | 22 | #include <net/ipv6.h> |
24 | 23 | ||
24 | #include "nfsd.h" | ||
25 | |||
25 | #define NFSDDBG_FACILITY NFSDDBG_EXPORT | 26 | #define NFSDDBG_FACILITY NFSDDBG_EXPORT |
26 | 27 | ||
27 | typedef struct auth_domain svc_client; | 28 | typedef struct auth_domain svc_client; |
diff --git a/fs/nfsd/lockd.c b/fs/nfsd/lockd.c index 801ef7104ff4..6f12777ed227 100644 --- a/fs/nfsd/lockd.c +++ b/fs/nfsd/lockd.c | |||
@@ -9,8 +9,8 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/file.h> | 11 | #include <linux/file.h> |
12 | #include <linux/nfsd/nfsd.h> | ||
13 | #include <linux/lockd/bind.h> | 12 | #include <linux/lockd/bind.h> |
13 | #include "nfsd.h" | ||
14 | #include "vfs.h" | 14 | #include "vfs.h" |
15 | 15 | ||
16 | #define NFSDDBG_FACILITY NFSDDBG_LOCKD | 16 | #define NFSDDBG_FACILITY NFSDDBG_LOCKD |
diff --git a/fs/nfsd/nfs2acl.c b/fs/nfsd/nfs2acl.c index a54628de7715..874e2a94bf4f 100644 --- a/fs/nfsd/nfs2acl.c +++ b/fs/nfsd/nfs2acl.c | |||
@@ -6,10 +6,11 @@ | |||
6 | * Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de> | 6 | * Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de> |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/nfsd/nfsd.h> | 9 | #include "nfsd.h" |
10 | #include <linux/nfsd/cache.h> | 10 | /* FIXME: nfsacl.h is a broken header */ |
11 | #include <linux/nfsd/xdr3.h> | ||
12 | #include <linux/nfsacl.h> | 11 | #include <linux/nfsacl.h> |
12 | #include "cache.h" | ||
13 | #include "xdr3.h" | ||
13 | #include "vfs.h" | 14 | #include "vfs.h" |
14 | 15 | ||
15 | #define NFSDDBG_FACILITY NFSDDBG_PROC | 16 | #define NFSDDBG_FACILITY NFSDDBG_PROC |
diff --git a/fs/nfsd/nfs3acl.c b/fs/nfsd/nfs3acl.c index 2f5c61bea908..c6011ddbadc0 100644 --- a/fs/nfsd/nfs3acl.c +++ b/fs/nfsd/nfs3acl.c | |||
@@ -6,10 +6,11 @@ | |||
6 | * Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de> | 6 | * Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de> |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/nfsd/nfsd.h> | 9 | #include "nfsd.h" |
10 | #include <linux/nfsd/cache.h> | 10 | /* FIXME: nfsacl.h is a broken header */ |
11 | #include <linux/nfsd/xdr3.h> | ||
12 | #include <linux/nfsacl.h> | 11 | #include <linux/nfsacl.h> |
12 | #include "cache.h" | ||
13 | #include "xdr3.h" | ||
13 | #include "vfs.h" | 14 | #include "vfs.h" |
14 | 15 | ||
15 | #define RETURN_STATUS(st) { resp->status = (st); return (st); } | 16 | #define RETURN_STATUS(st) { resp->status = (st); return (st); } |
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c index b694b4304544..90b19ca75b34 100644 --- a/fs/nfsd/nfs3proc.c +++ b/fs/nfsd/nfs3proc.c | |||
@@ -10,8 +10,8 @@ | |||
10 | #include <linux/ext2_fs.h> | 10 | #include <linux/ext2_fs.h> |
11 | #include <linux/magic.h> | 11 | #include <linux/magic.h> |
12 | 12 | ||
13 | #include <linux/nfsd/cache.h> | 13 | #include "cache.h" |
14 | #include <linux/nfsd/xdr3.h> | 14 | #include "xdr3.h" |
15 | #include "vfs.h" | 15 | #include "vfs.h" |
16 | 16 | ||
17 | #define NFSDDBG_FACILITY NFSDDBG_PROC | 17 | #define NFSDDBG_FACILITY NFSDDBG_PROC |
diff --git a/fs/nfsd/nfs3xdr.c b/fs/nfsd/nfs3xdr.c index 623e13aa6259..c523bb88c10b 100644 --- a/fs/nfsd/nfs3xdr.c +++ b/fs/nfsd/nfs3xdr.c | |||
@@ -9,7 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/namei.h> | 11 | #include <linux/namei.h> |
12 | #include <linux/nfsd/xdr3.h> | 12 | #include "xdr3.h" |
13 | #include "auth.h" | 13 | #include "auth.h" |
14 | 14 | ||
15 | #define NFSDDBG_FACILITY NFSDDBG_XDR | 15 | #define NFSDDBG_FACILITY NFSDDBG_XDR |
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 4fe396071b61..f7a315827638 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c | |||
@@ -34,8 +34,8 @@ | |||
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include <linux/sunrpc/clnt.h> | 36 | #include <linux/sunrpc/clnt.h> |
37 | #include <linux/nfsd/nfsd.h> | 37 | #include "nfsd.h" |
38 | #include <linux/nfsd/state.h> | 38 | #include "state.h" |
39 | 39 | ||
40 | #define NFSDDBG_FACILITY NFSDDBG_PROC | 40 | #define NFSDDBG_FACILITY NFSDDBG_PROC |
41 | 41 | ||
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 61f682c77e7f..e2b5666f25d1 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -36,8 +36,8 @@ | |||
36 | */ | 36 | */ |
37 | #include <linux/file.h> | 37 | #include <linux/file.h> |
38 | 38 | ||
39 | #include <linux/nfsd/cache.h> | 39 | #include "cache.h" |
40 | #include <linux/nfsd/xdr4.h> | 40 | #include "xdr4.h" |
41 | #include "vfs.h" | 41 | #include "vfs.h" |
42 | 42 | ||
43 | #define NFSDDBG_FACILITY NFSDDBG_PROC | 43 | #define NFSDDBG_FACILITY NFSDDBG_PROC |
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c index 48742f243c25..6744e7f2da0e 100644 --- a/fs/nfsd/nfs4recover.c +++ b/fs/nfsd/nfs4recover.c | |||
@@ -33,12 +33,13 @@ | |||
33 | * | 33 | * |
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include <linux/nfsd/nfsd.h> | ||
37 | #include <linux/nfsd/state.h> | ||
38 | #include <linux/file.h> | 36 | #include <linux/file.h> |
39 | #include <linux/namei.h> | 37 | #include <linux/namei.h> |
40 | #include <linux/crypto.h> | 38 | #include <linux/crypto.h> |
41 | #include <linux/sched.h> | 39 | #include <linux/sched.h> |
40 | |||
41 | #include "nfsd.h" | ||
42 | #include "state.h" | ||
42 | #include "vfs.h" | 43 | #include "vfs.h" |
43 | 44 | ||
44 | #define NFSDDBG_FACILITY NFSDDBG_PROC | 45 | #define NFSDDBG_FACILITY NFSDDBG_PROC |
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 1fe6e29fd500..2923e6c1da18 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -36,11 +36,11 @@ | |||
36 | 36 | ||
37 | #include <linux/file.h> | 37 | #include <linux/file.h> |
38 | #include <linux/smp_lock.h> | 38 | #include <linux/smp_lock.h> |
39 | #include <linux/nfsd/xdr4.h> | ||
40 | #include <linux/namei.h> | 39 | #include <linux/namei.h> |
41 | #include <linux/swap.h> | 40 | #include <linux/swap.h> |
42 | #include <linux/sunrpc/svcauth_gss.h> | 41 | #include <linux/sunrpc/svcauth_gss.h> |
43 | #include <linux/sunrpc/clnt.h> | 42 | #include <linux/sunrpc/clnt.h> |
43 | #include "xdr4.h" | ||
44 | #include "vfs.h" | 44 | #include "vfs.h" |
45 | 45 | ||
46 | #define NFSDDBG_FACILITY NFSDDBG_PROC | 46 | #define NFSDDBG_FACILITY NFSDDBG_PROC |
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 2fa96821f5b5..cab978031100 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c | |||
@@ -43,10 +43,11 @@ | |||
43 | #include <linux/namei.h> | 43 | #include <linux/namei.h> |
44 | #include <linux/statfs.h> | 44 | #include <linux/statfs.h> |
45 | #include <linux/utsname.h> | 45 | #include <linux/utsname.h> |
46 | #include <linux/nfsd/xdr4.h> | ||
47 | #include <linux/nfsd_idmap.h> | 46 | #include <linux/nfsd_idmap.h> |
48 | #include <linux/nfs4_acl.h> | 47 | #include <linux/nfs4_acl.h> |
49 | #include <linux/sunrpc/svcauth_gss.h> | 48 | #include <linux/sunrpc/svcauth_gss.h> |
49 | |||
50 | #include "xdr4.h" | ||
50 | #include "vfs.h" | 51 | #include "vfs.h" |
51 | 52 | ||
52 | #define NFSDDBG_FACILITY NFSDDBG_XDR | 53 | #define NFSDDBG_FACILITY NFSDDBG_XDR |
diff --git a/fs/nfsd/nfscache.c b/fs/nfsd/nfscache.c index 96694b8345ef..18aa9729a380 100644 --- a/fs/nfsd/nfscache.c +++ b/fs/nfsd/nfscache.c | |||
@@ -10,8 +10,8 @@ | |||
10 | * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> | 10 | * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/nfsd/nfsd.h> | 13 | #include "nfsd.h" |
14 | #include <linux/nfsd/cache.h> | 14 | #include "cache.h" |
15 | 15 | ||
16 | /* Size of reply cache. Common values are: | 16 | /* Size of reply cache. Common values are: |
17 | * 4.3BSD: 128 | 17 | * 4.3BSD: 128 |
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index e4f49fd6af44..0415680d3f58 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
@@ -11,12 +11,13 @@ | |||
11 | 11 | ||
12 | #include <linux/nfsd_idmap.h> | 12 | #include <linux/nfsd_idmap.h> |
13 | #include <linux/sunrpc/svcsock.h> | 13 | #include <linux/sunrpc/svcsock.h> |
14 | #include <linux/nfsd/nfsd.h> | ||
15 | #include <linux/nfsd/cache.h> | ||
16 | #include <linux/nfsd/syscall.h> | 14 | #include <linux/nfsd/syscall.h> |
17 | #include <linux/lockd/lockd.h> | 15 | #include <linux/lockd/lockd.h> |
18 | #include <linux/sunrpc/clnt.h> | 16 | #include <linux/sunrpc/clnt.h> |
19 | 17 | ||
18 | #include "nfsd.h" | ||
19 | #include "cache.h" | ||
20 | |||
20 | /* | 21 | /* |
21 | * We have a single directory with 9 nodes in it. | 22 | * We have a single directory with 9 nodes in it. |
22 | */ | 23 | */ |
diff --git a/include/linux/nfsd/nfsd.h b/fs/nfsd/nfsd.h index 74f67c2aca34..74f67c2aca34 100644 --- a/include/linux/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h | |||
diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c index 739948165034..0eb1c59f5ab8 100644 --- a/fs/nfsd/nfsfh.c +++ b/fs/nfsd/nfsfh.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/exportfs.h> | 12 | #include <linux/exportfs.h> |
13 | 13 | ||
14 | #include <linux/sunrpc/svcauth_gss.h> | 14 | #include <linux/sunrpc/svcauth_gss.h> |
15 | #include <linux/nfsd/nfsd.h> | 15 | #include "nfsd.h" |
16 | #include "vfs.h" | 16 | #include "vfs.h" |
17 | #include "auth.h" | 17 | #include "auth.h" |
18 | 18 | ||
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index b6bd9e0d7cd0..21a5f793c3d1 100644 --- a/fs/nfsd/nfsproc.c +++ b/fs/nfsd/nfsproc.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | #include <linux/namei.h> | 10 | #include <linux/namei.h> |
11 | 11 | ||
12 | #include <linux/nfsd/cache.h> | 12 | #include "cache.h" |
13 | #include <linux/nfsd/xdr.h> | 13 | #include "xdr.h" |
14 | #include "vfs.h" | 14 | #include "vfs.h" |
15 | 15 | ||
16 | typedef struct svc_rqst svc_rqst; | 16 | typedef struct svc_rqst svc_rqst; |
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index b2d7ffac0357..b520ce10bd15 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c | |||
@@ -15,11 +15,11 @@ | |||
15 | 15 | ||
16 | #include <linux/sunrpc/stats.h> | 16 | #include <linux/sunrpc/stats.h> |
17 | #include <linux/sunrpc/svcsock.h> | 17 | #include <linux/sunrpc/svcsock.h> |
18 | #include <linux/nfsd/nfsd.h> | ||
19 | #include <linux/nfsd/cache.h> | ||
20 | #include <linux/lockd/bind.h> | 18 | #include <linux/lockd/bind.h> |
21 | #include <linux/nfsacl.h> | 19 | #include <linux/nfsacl.h> |
22 | #include <linux/seq_file.h> | 20 | #include <linux/seq_file.h> |
21 | #include "nfsd.h" | ||
22 | #include "cache.h" | ||
23 | #include "vfs.h" | 23 | #include "vfs.h" |
24 | 24 | ||
25 | #define NFSDDBG_FACILITY NFSDDBG_SVC | 25 | #define NFSDDBG_FACILITY NFSDDBG_SVC |
diff --git a/fs/nfsd/nfsxdr.c b/fs/nfsd/nfsxdr.c index 5e0603da39e7..3bec831704af 100644 --- a/fs/nfsd/nfsxdr.c +++ b/fs/nfsd/nfsxdr.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> | 6 | * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/nfsd/xdr.h> | 9 | #include "xdr.h" |
10 | #include "auth.h" | 10 | #include "auth.h" |
11 | 11 | ||
12 | #define NFSDDBG_FACILITY NFSDDBG_XDR | 12 | #define NFSDDBG_FACILITY NFSDDBG_XDR |
diff --git a/include/linux/nfsd/state.h b/fs/nfsd/state.h index 2af75686e0d3..2af75686e0d3 100644 --- a/include/linux/nfsd/state.h +++ b/fs/nfsd/state.h | |||
diff --git a/fs/nfsd/stats.c b/fs/nfsd/stats.c index e3e411e9fe4a..3fc69dfd3091 100644 --- a/fs/nfsd/stats.c +++ b/fs/nfsd/stats.c | |||
@@ -25,11 +25,11 @@ | |||
25 | 25 | ||
26 | #include <linux/seq_file.h> | 26 | #include <linux/seq_file.h> |
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | |||
29 | #include <linux/sunrpc/stats.h> | 28 | #include <linux/sunrpc/stats.h> |
30 | #include <linux/nfsd/nfsd.h> | ||
31 | #include <linux/nfsd/stats.h> | 29 | #include <linux/nfsd/stats.h> |
32 | 30 | ||
31 | #include "nfsd.h" | ||
32 | |||
33 | struct nfsd_stats nfsdstats; | 33 | struct nfsd_stats nfsdstats; |
34 | struct svc_stat nfsd_svcstats = { | 34 | struct svc_stat nfsd_svcstats = { |
35 | .program = &nfsd_program, | 35 | .program = &nfsd_program, |
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 81ce108c114e..04bdba12d21b 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -22,23 +22,25 @@ | |||
22 | #include <linux/fcntl.h> | 22 | #include <linux/fcntl.h> |
23 | #include <linux/namei.h> | 23 | #include <linux/namei.h> |
24 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
25 | #include <linux/nfsd/nfsd.h> | ||
26 | #ifdef CONFIG_NFSD_V3 | ||
27 | #include <linux/nfsd/xdr3.h> | ||
28 | #endif /* CONFIG_NFSD_V3 */ | ||
29 | #include <linux/quotaops.h> | 25 | #include <linux/quotaops.h> |
30 | #include <linux/fsnotify.h> | 26 | #include <linux/fsnotify.h> |
31 | #include <linux/posix_acl_xattr.h> | 27 | #include <linux/posix_acl_xattr.h> |
32 | #include <linux/xattr.h> | 28 | #include <linux/xattr.h> |
29 | #include <linux/jhash.h> | ||
30 | #include <linux/ima.h> | ||
31 | #include <asm/uaccess.h> | ||
32 | |||
33 | #ifdef CONFIG_NFSD_V3 | ||
34 | #include "xdr3.h" | ||
35 | #endif /* CONFIG_NFSD_V3 */ | ||
36 | |||
33 | #ifdef CONFIG_NFSD_V4 | 37 | #ifdef CONFIG_NFSD_V4 |
34 | #include <linux/nfs4_acl.h> | 38 | #include <linux/nfs4_acl.h> |
35 | #include <linux/nfsd_idmap.h> | 39 | #include <linux/nfsd_idmap.h> |
36 | #endif /* CONFIG_NFSD_V4 */ | 40 | #endif /* CONFIG_NFSD_V4 */ |
37 | #include <linux/jhash.h> | ||
38 | #include <linux/ima.h> | ||
39 | #include "vfs.h" | ||
40 | 41 | ||
41 | #include <asm/uaccess.h> | 42 | #include "nfsd.h" |
43 | #include "vfs.h" | ||
42 | 44 | ||
43 | #define NFSDDBG_FACILITY NFSDDBG_FILEOP | 45 | #define NFSDDBG_FACILITY NFSDDBG_FILEOP |
44 | 46 | ||
diff --git a/include/linux/nfsd/xdr.h b/fs/nfsd/xdr.h index 58f824d854c2..235ee5c3be54 100644 --- a/include/linux/nfsd/xdr.h +++ b/fs/nfsd/xdr.h | |||
@@ -8,7 +8,7 @@ | |||
8 | #define LINUX_NFSD_H | 8 | #define LINUX_NFSD_H |
9 | 9 | ||
10 | #include <linux/vfs.h> | 10 | #include <linux/vfs.h> |
11 | #include <linux/nfsd/nfsd.h> | 11 | #include "nfsd.h" |
12 | 12 | ||
13 | struct nfsd_fhandle { | 13 | struct nfsd_fhandle { |
14 | struct svc_fh fh; | 14 | struct svc_fh fh; |
diff --git a/include/linux/nfsd/xdr3.h b/fs/nfsd/xdr3.h index 421eddd65a25..b330756973cf 100644 --- a/include/linux/nfsd/xdr3.h +++ b/fs/nfsd/xdr3.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #ifndef _LINUX_NFSD_XDR3_H | 9 | #ifndef _LINUX_NFSD_XDR3_H |
10 | #define _LINUX_NFSD_XDR3_H | 10 | #define _LINUX_NFSD_XDR3_H |
11 | 11 | ||
12 | #include <linux/nfsd/xdr.h> | 12 | #include "xdr.h" |
13 | 13 | ||
14 | struct nfsd3_sattrargs { | 14 | struct nfsd3_sattrargs { |
15 | struct svc_fh fh; | 15 | struct svc_fh fh; |
diff --git a/include/linux/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 1bf266239c7e..83202a1cf07b 100644 --- a/include/linux/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h | |||
@@ -39,8 +39,8 @@ | |||
39 | #ifndef _LINUX_NFSD_XDR4_H | 39 | #ifndef _LINUX_NFSD_XDR4_H |
40 | #define _LINUX_NFSD_XDR4_H | 40 | #define _LINUX_NFSD_XDR4_H |
41 | 41 | ||
42 | #include <linux/nfsd/state.h> | 42 | #include "state.h" |
43 | #include <linux/nfsd/nfsd.h> | 43 | #include "nfsd.h" |
44 | 44 | ||
45 | #define NFSD4_MAX_TAGLEN 128 | 45 | #define NFSD4_MAX_TAGLEN 128 |
46 | #define XDR_LEN(n) (((n) + 3) & ~3) | 46 | #define XDR_LEN(n) (((n) + 3) & ~3) |