aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dns_resolve.c
diff options
context:
space:
mode:
authorAnna Schumaker <[email protected]>2013-11-13 17:29:08 +0000
committerTrond Myklebust <[email protected]>2013-11-19 21:20:40 +0000
commit694e096fd7c2a7d40760fc9c9dfc826bdd495ea4 (patch)
tree718e6db209f6db22e70555a8c6b97ad3b5422889 /fs/nfs/dns_resolve.c
parentnfs: fix pnfs Kconfig defaults (diff)
downloadkernel-694e096fd7c2a7d40760fc9c9dfc826bdd495ea4.tar.gz
kernel-694e096fd7c2a7d40760fc9c9dfc826bdd495ea4.zip
NFS: Enabling v4.2 should not recompile nfsd and lockd
When CONFIG_NFS_V4_2 is toggled nfsd and lockd will be recompiled, instead of only the nfs client. This patch moves a small amount of code into the client directory to avoid unnecessary recompiles. Signed-off-by: Anna Schumaker <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'fs/nfs/dns_resolve.c')
-rw-r--r--fs/nfs/dns_resolve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/dns_resolve.c b/fs/nfs/dns_resolve.c
index fc0f95ec7358..d25f10fb4926 100644
--- a/fs/nfs/dns_resolve.c
+++ b/fs/nfs/dns_resolve.c
@@ -46,7 +46,9 @@ ssize_t nfs_dns_resolve_name(struct net *net, char *name, size_t namelen,
#include <linux/sunrpc/cache.h>
#include <linux/sunrpc/svcauth.h>
#include <linux/sunrpc/rpc_pipe_fs.h>
+#include <linux/nfs_fs.h>
+#include "nfs4_fs.h"
#include "dns_resolve.h"
#include "cache_lib.h"
#include "netns.h"