summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2021-01-21 16:17:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-23 13:58:12 +0100
commit124ecad40b19de5442fb5d3fc83bb3f3592a04ab (patch)
tree797589804edb91f74818bc8d679eca1b8deeb026 /include/linux
parentf39b448a0cbd829897cde4aa97683b59287e2213 (diff)
downloadlinux-stable-124ecad40b19de5442fb5d3fc83bb3f3592a04ab.tar.gz
linux-stable-124ecad40b19de5442fb5d3fc83bb3f3592a04ab.tar.bz2
linux-stable-124ecad40b19de5442fb5d3fc83bb3f3592a04ab.zip
SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
[ Upstream commit ba6dfce47c4d002d96cd02a304132fca76981172 ] Remove duplicated helper functions to parse opaque XDR objects and place inside new file net/sunrpc/auth_gss/auth_gss_internal.h. In the new file carry the license and copyright from the source file net/sunrpc/auth_gss/auth_gss.c. Finally, update the comment inside include/linux/sunrpc/xdr.h since lockd is not the only user of struct xdr_netobj. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sunrpc/xdr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h
index 70c6b92e15a7..8def5e0a491f 100644
--- a/include/linux/sunrpc/xdr.h
+++ b/include/linux/sunrpc/xdr.h
@@ -23,8 +23,7 @@
#define XDR_QUADLEN(l) (((l) + 3) >> 2)
/*
- * Generic opaque `network object.' At the kernel level, this type
- * is used only by lockd.
+ * Generic opaque `network object.'
*/
#define XDR_MAX_NETOBJ 1024
struct xdr_netobj {