aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-02-04 12:50:00 -0500
committerJ. Bruce Fields <bfields@redhat.com>2013-02-05 09:41:14 -0500
commit5976687a2b3d1969f02aba16b80ad3ed79be6ad3 (patch)
treea1121aeb9eed15e25be0b46c9069ce091198ff00 /net/sunrpc/svcauth_unix.c
parentsunrpc: copy scope ID in __rpc_copy_addr6 (diff)
downloadlinux-dev-5976687a2b3d1969f02aba16b80ad3ed79be6ad3.tar.xz
linux-dev-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 'net/sunrpc/svcauth_unix.c')
-rw-r--r--net/sunrpc/svcauth_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 4d0129203733..ce34c8e5b8eb 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -6,6 +6,7 @@
#include <linux/sunrpc/svcsock.h>
#include <linux/sunrpc/svcauth.h>
#include <linux/sunrpc/gss_api.h>
+#include <linux/sunrpc/addr.h>
#include <linux/err.h>
#include <linux/seq_file.h>
#include <linux/hash.h>
@@ -17,7 +18,6 @@
#include <linux/user_namespace.h>
#define RPCDBG_FACILITY RPCDBG_AUTH
-#include <linux/sunrpc/clnt.h>
#include "netns.h"