diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-02-04 18:50:00 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-05 15:41:14 +0100 |
commit | 5976687a2b3d1969f02aba16b80ad3ed79be6ad3 (patch) | |
tree | a1121aeb9eed15e25be0b46c9069ce091198ff00 /fs/nfs/dns_resolve.c | |
parent | sunrpc: copy scope ID in __rpc_copy_addr6 (diff) | |
download | linux-5976687a2b3d1969f02aba16b80ad3ed79be6ad3.tar.xz linux-5976687a2b3d1969f02aba16b80ad3ed79be6ad3.zip |
sunrpc: move address copy/cmp/convert routines and prototypes from clnt.h to addr.h
These routines are used by server and client code, so having them in a
separate header would be best.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfs/dns_resolve.c')
-rw-r--r-- | fs/nfs/dns_resolve.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/dns_resolve.c b/fs/nfs/dns_resolve.c index ca4b11ec87a2..62c8c4127219 100644 --- a/fs/nfs/dns_resolve.c +++ b/fs/nfs/dns_resolve.c @@ -10,6 +10,7 @@ #include <linux/module.h> #include <linux/sunrpc/clnt.h> +#include <linux/sunrpc/addr.h> #include <linux/dns_resolver.h> #include "dns_resolve.h" @@ -42,6 +43,7 @@ EXPORT_SYMBOL_GPL(nfs_dns_resolve_name); #include <linux/seq_file.h> #include <linux/inet.h> #include <linux/sunrpc/clnt.h> +#include <linux/sunrpc/addr.h> #include <linux/sunrpc/cache.h> #include <linux/sunrpc/svcauth.h> #include <linux/sunrpc/rpc_pipe_fs.h> |